Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001248, allocations: 100.2 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.001536/0.001536, allocations: 177.3 kB / 15.95 MB, free: 216 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.351/1.351, allocations: 223.2 MB / 239.9 MB, free: 5.348 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.323/2.323, allocations: 390.3 MB / 0.6653 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003596, allocations: 12 kB / 0.8145 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6483/0.6487, allocations: 142.3 MB / 0.9535 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001204/0.6499, allocations: 0.9611 MB / 0.9545 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008245/0.6508, allocations: 0.6706 MB / 0.9551 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.269e-05/0.6508, allocations: 0 / 0.9551 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.803e-05/0.6509, allocations: 5.062 kB / 0.9551 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.651, allocations: 14.06 kB / 0.9551 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.145e-05/0.6511, allocations: 2.281 kB / 0.9551 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.26e-05/0.6511, allocations: 2.156 kB / 0.9551 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.989e-05/0.6512, allocations: 5 kB / 0.9551 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.862e-05/0.6512, allocations: 10.27 kB / 0.9552 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.706e-05/0.6513, allocations: 1.156 kB / 0.9552 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.949e-06/0.6513, allocations: 1 kB / 0.9552 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.571e-05/0.6513, allocations: 2.281 kB / 0.9552 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.87e-05/0.6514, allocations: 10.27 kB / 0.9552 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.741e-05/0.6514, allocations: 25.7 kB / 0.9552 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.178e-05/0.6515, allocations: 8.594 kB / 0.9552 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.6515, allocations: 0 / 0.9552 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6515, allocations: 0 / 0.9552 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.6515, allocations: 3.938 kB / 0.9552 GB, free: 6.707 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.0001853/0.6517, allocations: 321.8 kB / 0.9555 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.6517, allocations: 13 kB / 0.9555 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.6518, allocations: 84.23 kB / 0.9556 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.6519, allocations: 240.5 kB / 0.9558 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.6519, allocations: 150.6 kB / 0.956 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.6519, allocations: 151.7 kB / 0.9561 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.452e-05/0.652, allocations: 106 kB / 0.9562 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.652, allocations: 83.22 kB / 0.9563 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.652, allocations: 151.6 kB / 0.9564 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.6521, allocations: 150.6 kB / 0.9566 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.237e-05/0.6521, allocations: 159.5 kB / 0.9567 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000202/0.6523, allocations: 447.8 kB / 0.9572 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.043e-05/0.6523, allocations: 170.2 kB / 0.9573 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.6524, allocations: 80.28 kB / 0.9574 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.6524, allocations: 106.8 kB / 0.9575 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.6524, allocations: 0 / 0.9575 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.281e-05/0.6525, allocations: 30.77 kB / 0.9575 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.6525, allocations: 127.7 kB / 0.9577 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.648e-05/0.6526, allocations: 103.2 kB / 0.9578 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.743e-06/0.6526, allocations: 25.7 kB / 0.9578 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.356e-05/0.6526, allocations: 81.45 kB / 0.9579 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/0.6526, allocations: 0 / 0.9579 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.6526, allocations: 1.062 kB / 0.9579 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.067e-05/0.6527, allocations: 315.9 kB / 0.9582 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.885e-06/0.6527, allocations: 4 kB / 0.9582 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.217e-05/0.6527, allocations: 5.094 kB / 0.9582 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.689e-05/0.6527, allocations: 76.59 kB / 0.9582 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.118e-06/0.6527, allocations: 75.28 kB / 0.9583 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.211e-05/0.6528, allocations: 37.38 kB / 0.9584 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.6528, allocations: 81.12 kB / 0.9584 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.6528, allocations: 75.47 kB / 0.9585 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.713e-05/0.6529, allocations: 159.8 kB / 0.9587 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.019e-05/0.6529, allocations: 76.53 kB / 0.9587 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/0.6529, allocations: 155.6 kB / 0.9589 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.653, allocations: 80.3 kB / 0.959 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.653, allocations: 76.59 kB / 0.959 GB, free: 2.613 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 (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 prepare postOptimizeDAE: time 5.404e-05/0.6531, allocations: 279.1 kB / 0.9593 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/0.6531, allocations: 106.3 kB / 0.9594 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.554e-05/0.6532, allocations: 109.3 kB / 0.9595 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.458e-05/0.6532, allocations: 180.2 kB / 0.9597 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.333e-05/0.6532, allocations: 185.8 kB / 0.9598 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.562e-05/0.6533, allocations: 185.5 kB / 0.96 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.6534, allocations: 406.8 kB / 0.9604 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/0.6534, allocations: 105.9 kB / 0.9605 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.311e-05/0.6534, allocations: 110.3 kB / 0.9606 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.363e-05/0.6535, allocations: 177.4 kB / 0.9608 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.6535, allocations: 185.4 kB / 0.961 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.431e-05/0.6535, allocations: 181.4 kB / 0.9611 GB, free: 332 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.38e-05/0.6535, allocations: 180.3 kB / 0.9613 GB, free: 144 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.6537, allocations: 312 kB / 0.9616 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-05/0.6537, allocations: 183.4 kB / 0.9618 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.165e-05/0.6538, allocations: 181.2 kB / 0.962 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.873e-05/0.6539, allocations: 106.3 kB / 0.9621 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.474e-05/0.654, allocations: 181.2 kB / 0.9622 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.245e-05/0.654, allocations: 102.1 kB / 0.9623 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.063e-05/0.6541, allocations: 87.36 kB / 0.9624 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6541, allocations: 0 / 0.9624 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00026/0.6544, allocations: 1.812 kB / 0.9624 GB, free: 14.95 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.0002389/0.6546, allocations: 188.3 kB / 0.9626 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 4.858e-05/0.6547, allocations: 5.344 kB / 0.9626 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6547, allocations: 0 / 0.9626 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.936e-06/0.6547, allocations: 4 kB / 0.9626 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.655, allocations: 0.5255 MB / 0.9631 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002338/0.6552, allocations: 173.5 kB / 0.9633 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.6554, allocations: 0.6731 MB / 0.9639 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.646e-05/0.6554, allocations: 5.297 kB / 0.9639 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.878e-05/0.6555, allocations: 8.594 kB / 0.9639 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/0.6555, allocations: 0 / 0.9639 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of Templates: time 0.002617/0.6581, allocations: 323 kB / 0.9643 GB, free: 13.2 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches