Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|alt",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|alt",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005775/0.005776, allocations: 105.3 kB / 15.73 MB, free: 6.043 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.001117/0.001117, allocations: 191.1 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.645/2.645, allocations: 461.9 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 59.91 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3408, allocations: 157.4 MB / 1.208 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002132/0.343, allocations: 1.248 MB / 1.209 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.3444, allocations: 1 MB / 1.21 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.696e-05/0.3445, allocations: 4 kB / 1.21 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.761e-05/0.3445, allocations: 0 / 1.21 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004428/0.3449, allocations: 111.6 kB / 1.21 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.426e-06/0.345, allocations: 0 / 1.21 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.693e-05/0.345, allocations: 7.922 kB / 1.21 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.004e-05/0.3451, allocations: 3.984 kB / 1.21 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.033e-05/0.3451, allocations: 4 kB / 1.21 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.282e-05/0.3452, allocations: 4 kB / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.754e-06/0.3452, allocations: 0 / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002062/0.3454, allocations: 123.8 kB / 1.21 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.334e-06/0.3454, allocations: 3.984 kB / 1.21 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.331e-05/0.3454, allocations: 7.875 kB / 1.21 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.3456, allocations: 103.9 kB / 1.21 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3456, allocations: 0 / 1.21 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.807e-06/0.3456, allocations: 0 / 1.21 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.697e-06/0.3456, allocations: 3.938 kB / 1.21 GB, free: 7.016 MB / 0.9669 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.0003078/0.346, allocations: 347.5 kB / 1.211 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.346, allocations: 8.031 kB / 1.211 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.13e-05/0.3461, allocations: 76.22 kB / 1.211 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.3462, allocations: 247.6 kB / 1.211 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.544e-05/0.3463, allocations: 154.9 kB / 1.211 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.474e-05/0.3463, allocations: 154.9 kB / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.414e-05/0.3464, allocations: 105.1 kB / 1.211 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.3464, allocations: 75.28 kB / 1.211 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.933e-05/0.3465, allocations: 150.6 kB / 1.212 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.8e-05/0.3465, allocations: 154.6 kB / 1.212 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.95e-05/0.3466, allocations: 158.5 kB / 1.212 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000359/0.347, allocations: 449.9 kB / 1.212 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.959e-05/0.3471, allocations: 165.1 kB / 1.212 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.077e-05/0.3471, allocations: 80.14 kB / 1.213 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.3471, allocations: 79.28 kB / 1.213 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.3472, allocations: 117.7 kB / 1.213 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.3472, allocations: 0 / 1.213 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 6.459e-05/0.3472, allocations: 25.7 kB / 1.213 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.867e-05/0.3473, allocations: 126.7 kB / 1.213 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.472e-05/0.3474, allocations: 105.8 kB / 1.213 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.3474, allocations: 25.7 kB / 1.213 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.057e-05/0.3475, allocations: 80.14 kB / 1.213 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.3475, allocations: 0 / 1.213 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.3475, allocations: 9.719 kB / 1.213 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.3476, allocations: 314.8 kB / 1.213 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.498e-06/0.3476, allocations: 3.938 kB / 1.213 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.418e-06/0.3476, allocations: 4.031 kB / 1.213 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.569e-05/0.3477, allocations: 75.28 kB / 1.213 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001409/0.3478, allocations: 79.41 kB / 1.214 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.55e-05/0.3479, allocations: 41.58 kB / 1.214 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/0.3479, allocations: 81 kB / 1.214 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.221e-05/0.3479, allocations: 79.27 kB / 1.214 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.233e-05/0.348, allocations: 154.5 kB / 1.214 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.263e-05/0.348, allocations: 79.28 kB / 1.214 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.359e-05/0.3481, allocations: 154.6 kB / 1.214 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.681e-05/0.3482, allocations: 83.22 kB / 1.214 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.15e-05/0.3482, allocations: 79.22 kB / 1.214 GB, free: 2.742 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001122/0.3483, allocations: 264.4 kB / 1.214 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.258e-05/0.3484, allocations: 112.8 kB / 1.215 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.674e-05/0.3484, allocations: 104.1 kB / 1.215 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-05/0.3485, allocations: 188.2 kB / 1.215 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.303e-05/0.3485, allocations: 176.3 kB / 1.215 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.607e-05/0.3486, allocations: 188.2 kB / 1.215 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.3488, allocations: 405.2 kB / 1.216 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.342e-05/0.3489, allocations: 101 kB / 1.216 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.996e-05/0.349, allocations: 112.9 kB / 1.216 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001185/0.3491, allocations: 176.3 kB / 1.216 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.539e-05/0.3492, allocations: 188.2 kB / 1.216 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.179e-05/0.3492, allocations: 180.2 kB / 1.216 GB, free: 468 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00013/0.3494, allocations: 176.3 kB / 1.216 GB, free: 284 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.3495, allocations: 311.8 kB / 1.217 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.999e-05/0.3496, allocations: 182 kB / 1.217 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.609e-05/0.3497, allocations: 184.2 kB / 1.217 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.267e-05/0.3497, allocations: 101 kB / 1.217 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/0.3498, allocations: 180.2 kB / 1.217 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.738e-05/0.3499, allocations: 109 kB / 1.218 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.67e-05/0.3499, allocations: 83.28 kB / 1.218 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3499, allocations: 0 / 1.218 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003311/0.3502, allocations: 47.86 kB / 1.218 GB, free: 15.03 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004924/0.3507, allocations: 310.7 kB / 1.218 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 4.114e-05/0.3508, allocations: 8 kB / 1.218 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3508, allocations: 4 kB / 1.218 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.287e-06/0.3508, allocations: 7.938 kB / 1.218 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.3511, allocations: 451.7 kB / 1.218 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002423/0.3514, allocations: 168.7 kB / 1.219 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.3516, allocations: 0.6729 MB / 1.219 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.105e-06/0.3517, allocations: 0 / 1.219 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.021e-05/0.3517, allocations: 11.44 kB / 1.219 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.3517, allocations: 4 kB / 1.219 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of Templates: time 0.003031/0.3547, allocations: 0.9822 MB / 1.22 GB, free: 12.41 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches