Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 98.53 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001443, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.343/2.343, allocations: 390.3 MB / 0.6653 GB, free: 2.922 MB / 0.5138 GB Notification: Performance of FrontEnd - loaded program: time 0.0003363/0.0003365, allocations: 16 kB / 0.8145 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6391/0.6394, allocations: 142.3 MB / 0.9535 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.0009824/0.6404, allocations: 0.978 MB / 0.9545 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007433/0.6412, allocations: 0.6871 MB / 0.9551 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.319e-05/0.6412, allocations: 1.156 kB / 0.9551 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.185e-05/0.6413, allocations: 3.984 kB / 0.9551 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.6414, allocations: 2.125 kB / 0.9551 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.6416, allocations: 49.34 kB / 0.9552 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.455e-05/0.6416, allocations: 12.61 kB / 0.9552 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/0.6417, allocations: 5.266 kB / 0.9552 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.59e-05/0.6417, allocations: 13.92 kB / 0.9552 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.946e-05/0.6418, allocations: 7.438 kB / 0.9552 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.6419, allocations: 1.156 kB / 0.9552 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.286e-05/0.6419, allocations: 6.062 kB / 0.9552 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.045e-05/0.6419, allocations: 2.688 kB / 0.9552 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.423e-05/0.642, allocations: 31.12 kB / 0.9553 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.108e-05/0.642, allocations: 14.95 kB / 0.9553 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.642, allocations: 0 / 0.9553 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6421, allocations: 4 kB / 0.9553 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.6421, allocations: 0 / 0.9553 GB, free: 6.68 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002047/0.6423, allocations: 323 kB / 0.9556 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.6423, allocations: 8.906 kB / 0.9556 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.6424, allocations: 80.39 kB / 0.9557 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.43e-05/0.6424, allocations: 240.4 kB / 0.9559 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.6425, allocations: 150.6 kB / 0.9561 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.6425, allocations: 156.5 kB / 0.9562 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.954e-05/0.6426, allocations: 120.9 kB / 0.9563 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.6426, allocations: 76.22 kB / 0.9564 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.6426, allocations: 150.6 kB / 0.9565 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.6426, allocations: 151.5 kB / 0.9567 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.197e-05/0.6426, allocations: 159.7 kB / 0.9568 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001707/0.6428, allocations: 449.3 kB / 0.9573 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.353e-05/0.6429, allocations: 169.9 kB / 0.9574 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.6429, allocations: 75.28 kB / 0.9575 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.6429, allocations: 110.9 kB / 0.9576 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.6429, allocations: 0 / 0.9576 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.13e-05/0.643, allocations: 31.89 kB / 0.9576 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.643, allocations: 126.7 kB / 0.9578 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.3e-05/0.6431, allocations: 118.1 kB / 0.9579 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.215e-06/0.6431, allocations: 25.7 kB / 0.9579 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.465e-05/0.6431, allocations: 85.11 kB / 0.958 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.6432, allocations: 1.406 kB / 0.958 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.013e-06/0.6432, allocations: 0 / 0.958 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.018e-05/0.6432, allocations: 322.8 kB / 0.9583 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.547e-05/0.6432, allocations: 4.031 kB / 0.9583 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.441e-05/0.6433, allocations: 9.219 kB / 0.9583 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.98e-05/0.6433, allocations: 4.25 kB / 0.9583 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.6433, allocations: 3.938 kB / 0.9583 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.349e-05/0.6434, allocations: 40.34 kB / 0.9583 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.6434, allocations: 5.781 kB / 0.9583 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.6434, allocations: 128 / 0.9583 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.6434, allocations: 4 kB / 0.9583 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.6434, allocations: 1.469 kB / 0.9583 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.6434, allocations: 0 / 0.9583 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.461e-05/0.6435, allocations: 5.453 kB / 0.9584 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.6435, allocations: 1.469 kB / 0.9584 GB, free: 3.387 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.865e-05/0.6436, allocations: 195.9 kB / 0.9585 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.6437, allocations: 102.5 kB / 0.9586 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.596e-05/0.6437, allocations: 115.3 kB / 0.9587 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-05/0.6437, allocations: 184.2 kB / 0.9589 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.709e-05/0.6437, allocations: 181.1 kB / 0.9591 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.367e-05/0.6438, allocations: 182.2 kB / 0.9593 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.6439, allocations: 407.6 kB / 0.9597 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/0.6439, allocations: 102.2 kB / 0.9598 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.577e-05/0.6439, allocations: 110.1 kB / 0.9599 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.476e-05/0.644, allocations: 177.5 kB / 0.96 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.644, allocations: 184.2 kB / 0.9602 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.079e-05/0.644, allocations: 181.3 kB / 0.9604 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.537e-05/0.6441, allocations: 181.4 kB / 0.9606 GB, free: 1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.471e-05/0.6441, allocations: 312.8 kB / 0.9609 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.126e-05/0.6442, allocations: 195.2 kB / 0.961 GB, free: 472 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.6442, allocations: 177.4 kB / 0.9612 GB, free: 288 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.945e-05/0.6443, allocations: 102.2 kB / 0.9613 GB, free: 180 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.293e-05/0.6443, allocations: 185.4 kB / 0.9615 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.956e-05/0.6444, allocations: 101 kB / 0.9616 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.144e-05/0.6444, allocations: 89.3 kB / 0.9617 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6444, allocations: 0 / 0.9617 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002189/0.6446, allocations: 3.844 kB / 0.9617 GB, free: 15.8 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001988/0.6449, allocations: 178.2 kB / 0.9618 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.126e-05/0.6449, allocations: 16.8 kB / 0.9619 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.6449, allocations: 1.375 kB / 0.9619 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.006e-06/0.6449, allocations: 3.938 kB / 0.9619 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.6452, allocations: 0.5278 MB / 0.9624 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002347/0.6455, allocations: 166.9 kB / 0.9625 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.6457, allocations: 0.6774 MB / 0.9632 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.621e-05/0.6457, allocations: 1.438 kB / 0.9632 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.238e-05/0.6457, allocations: 8.938 kB / 0.9632 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of SimCode: time 2.7e-07/0.6458, allocations: 0 / 0.9632 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.002127/0.6479, allocations: 401.6 kB / 0.9636 GB, free: 13.99 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches