Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009585/0.0009585, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009266/0.0009266, allocations: 165 kB / 23.82 MB, free: 0.7461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9253/0.9253, allocations: 177.1 MB / 204.2 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.898/1.898, allocations: 377.8 MB / 0.6236 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|alt",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|alt",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.8115 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.425e-05, allocations: 2.312 kB / 0.8115 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001739/0.001763, allocations: 1.299 MB / 0.8128 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.002862, allocations: 1.127 MB / 0.8139 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.292e-05/0.002885, allocations: 0.8125 kB / 0.8139 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.995e-05/0.002905, allocations: 0 / 0.8139 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0004552/0.00336, allocations: 121.5 kB / 0.814 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 5.991e-06/0.003366, allocations: 0 / 0.814 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 3.692e-05/0.003403, allocations: 4 kB / 0.814 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.145e-05/0.003435, allocations: 5.453 kB / 0.814 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.08e-05/0.003456, allocations: 3.938 kB / 0.814 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.706e-05/0.003503, allocations: 4 kB / 0.814 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.493e-06/0.003509, allocations: 0 / 0.814 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.003679, allocations: 101.6 kB / 0.8141 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.971e-06/0.003685, allocations: 0 / 0.8141 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.637e-06/0.003694, allocations: 0 / 0.8141 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.003848, allocations: 119.6 kB / 0.8142 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.003851, allocations: 0 / 0.8142 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.072e-06/0.003852, allocations: 1.375 kB / 0.8142 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.003856, allocations: 0 / 0.8142 GB, free: 13.82 MB / 0.7292 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.0002524/0.004108, allocations: 383.9 kB / 0.8146 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.00414, allocations: 8.031 kB / 0.8146 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.882e-05/0.004189, allocations: 129.8 kB / 0.8147 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.004316, allocations: 227.8 kB / 0.815 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.396e-05/0.00438, allocations: 238.8 kB / 0.8152 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.823e-05/0.004428, allocations: 246.8 kB / 0.8154 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.833e-05/0.004516, allocations: 150.7 kB / 0.8156 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.927e-05/0.004546, allocations: 119.4 kB / 0.8157 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.861e-05/0.004594, allocations: 242.5 kB / 0.8159 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.114e-05/0.004645, allocations: 244.3 kB / 0.8161 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.923e-05/0.004695, allocations: 242.4 kB / 0.8164 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004831/0.005178, allocations: 0.5641 MB / 0.8169 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.153e-05/0.005259, allocations: 273.4 kB / 0.8172 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.185e-05/0.005291, allocations: 126.9 kB / 0.8173 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.005317, allocations: 121.5 kB / 0.8174 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.497e-05/0.005362, allocations: 156.6 kB / 0.8176 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.005363, allocations: 0 / 0.8176 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 5.184e-05/0.005415, allocations: 25.7 kB / 0.8176 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.00547, allocations: 174.5 kB / 0.8178 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.703e-05/0.005557, allocations: 161.9 kB / 0.8179 GB, free: 9.887 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.384e-06/0.005564, allocations: 26.42 kB / 0.8179 GB, free: 9.855 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.007e-05/0.005594, allocations: 131.3 kB / 0.8181 GB, free: 9.723 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/0.005596, allocations: 0 / 0.8181 GB, free: 9.723 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.826e-05/0.005614, allocations: 21.03 kB / 0.8181 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002425/0.005857, allocations: 492.1 kB / 0.8186 GB, free: 9.203 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.388e-06/0.005861, allocations: 0 / 0.8186 GB, free: 9.203 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.206e-06/0.005864, allocations: 0 / 0.8186 GB, free: 9.203 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.817e-05/0.005892, allocations: 119.2 kB / 0.8187 GB, free: 9.086 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.679e-05/0.005919, allocations: 123.8 kB / 0.8188 GB, free: 8.965 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.702e-05/0.005956, allocations: 26.98 kB / 0.8188 GB, free: 8.934 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.667e-05/0.005993, allocations: 131.2 kB / 0.8189 GB, free: 8.805 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.833e-05/0.006021, allocations: 127.1 kB / 0.8191 GB, free: 8.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.632e-05/0.006077, allocations: 242.3 kB / 0.8193 GB, free: 8.441 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.766e-05/0.006105, allocations: 124.3 kB / 0.8194 GB, free: 8.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.123e-05/0.006156, allocations: 246.3 kB / 0.8197 GB, free: 8.078 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.913e-05/0.006225, allocations: 119.2 kB / 0.8198 GB, free: 7.961 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.006251, allocations: 124.3 kB / 0.8199 GB, free: 7.84 MB / 0.7292 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 9.195e-05/0.006343, allocations: 395 kB / 0.8203 GB, free: 7.441 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.296e-05/0.006386, allocations: 153.4 kB / 0.8204 GB, free: 7.285 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.303e-05/0.006429, allocations: 156.5 kB / 0.8206 GB, free: 7.125 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.389e-05/0.006483, allocations: 264.3 kB / 0.8208 GB, free: 6.859 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.116e-05/0.006534, allocations: 268.9 kB / 0.8211 GB, free: 6.59 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-05/0.00659, allocations: 276 kB / 0.8213 GB, free: 6.312 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.006733, allocations: 496.7 kB / 0.8218 GB, free: 5.785 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002903/0.007023, allocations: 160.9 kB / 0.822 GB, free: 5.621 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.929e-05/0.007052, allocations: 146.6 kB / 0.8221 GB, free: 5.473 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.323e-05/0.007106, allocations: 264.1 kB / 0.8223 GB, free: 5.207 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.003e-05/0.007166, allocations: 276 kB / 0.8226 GB, free: 4.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.228e-05/0.007218, allocations: 264.1 kB / 0.8229 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.502e-05/0.007273, allocations: 272 kB / 0.8231 GB, free: 4.391 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.007387, allocations: 444.8 kB / 0.8235 GB, free: 3.93 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.021e-05/0.007427, allocations: 156.8 kB / 0.8237 GB, free: 3.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.017e-05/0.007488, allocations: 266.3 kB / 0.8239 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.329e-05/0.007551, allocations: 156.8 kB / 0.8241 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.199e-05/0.007633, allocations: 268 kB / 0.8244 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.583e-05/0.007679, allocations: 148.9 kB / 0.8245 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.564e-05/0.007734, allocations: 127.1 kB / 0.8246 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/0.007734, allocations: 2.094 kB / 0.8246 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003525/0.008087, allocations: 43.8 kB / 0.8247 GB, free: 2.754 MB / 0.7292 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.0006916/0.008778, allocations: 386.5 kB / 0.825 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.425e-05/0.008823, allocations: 0 / 0.825 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.008826, allocations: 4.656 kB / 0.825 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.008827, allocations: 0 / 0.825 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.009115, allocations: 0.699 MB / 0.8257 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002263/0.009341, allocations: 209.4 kB / 0.8259 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.953e-05/0.009371, allocations: 59.28 kB / 0.826 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.947e-06/0.00938, allocations: 7.5 kB / 0.826 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.33e-05/0.009393, allocations: 8.5 kB / 0.826 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of SimCode: time 5.01e-07/0.009393, allocations: 0 / 0.826 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of Templates: time 0.002758/0.01215, allocations: 1.174 MB / 0.8271 GB, free: 240 kB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.068237257190049]