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.001091/0.001091, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001194/0.001194, allocations: 162.7 kB / 24.87 MB, free: 9.285 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 1.04/1.04, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.929/1.929, allocations: 377.9 MB / 0.6247 GB, free: 8.422 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.953e-06/1.953e-06, allocations: 0 / 0.8128 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.714e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002614/0.002641, allocations: 1.294 MB / 0.814 GB, free: 192 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001472/0.004114, allocations: 1.136 MB / 0.8152 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.594e-05/0.00415, allocations: 0 / 0.8152 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.914e-05/0.004169, allocations: 0 / 0.8152 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005169/0.004686, allocations: 103.5 kB / 0.8153 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 2.846e-06/0.004689, allocations: 5.531 kB / 0.8153 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 3.235e-05/0.004721, allocations: 3.938 kB / 0.8153 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.38e-05/0.004765, allocations: 7.984 kB / 0.8153 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 2.263e-05/0.004787, allocations: 4 kB / 0.8153 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.264e-05/0.00484, allocations: 0.5 kB / 0.8153 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.116e-06/0.004848, allocations: 0 / 0.8153 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002216/0.00507, allocations: 109.5 kB / 0.8154 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.713e-06/0.005076, allocations: 0 / 0.8154 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.067e-06/0.005086, allocations: 0 / 0.8154 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.005292, allocations: 123.6 kB / 0.8155 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.005294, allocations: 0 / 0.8155 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.182e-06/0.005295, allocations: 0.8438 kB / 0.8155 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.005299, allocations: 0 / 0.8155 GB, free: 14.7 MB / 0.7761 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.0002936/0.005593, allocations: 372.7 kB / 0.8159 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.005628, allocations: 8.031 kB / 0.8159 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.636e-05/0.005684, allocations: 129.7 kB / 0.816 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.005814, allocations: 223.8 kB / 0.8162 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.535e-05/0.00589, allocations: 246.7 kB / 0.8164 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.358e-05/0.005953, allocations: 242.8 kB / 0.8167 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.808e-05/0.006021, allocations: 148 kB / 0.8168 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.765e-05/0.006059, allocations: 119.4 kB / 0.8169 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.739e-05/0.006126, allocations: 242.5 kB / 0.8172 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-05/0.006196, allocations: 246.4 kB / 0.8174 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.141e-05/0.006268, allocations: 242.4 kB / 0.8176 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002959/0.006564, allocations: 0.553 MB / 0.8182 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.006664, allocations: 273.8 kB / 0.8184 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.236e-05/0.006707, allocations: 126.9 kB / 0.8185 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.591e-05/0.006743, allocations: 119.9 kB / 0.8187 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.014e-05/0.006803, allocations: 156.6 kB / 0.8188 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 2.104e-06/0.006805, allocations: 4.516 kB / 0.8188 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 6.432e-05/0.006869, allocations: 31.27 kB / 0.8188 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/0.006941, allocations: 170.6 kB / 0.819 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.926e-05/0.007041, allocations: 157.9 kB / 0.8192 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.906e-06/0.00705, allocations: 26.3 kB / 0.8192 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/0.007094, allocations: 130.9 kB / 0.8193 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.72e-07/0.007095, allocations: 0.5938 kB / 0.8193 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/0.007121, allocations: 19.38 kB / 0.8193 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.007273, allocations: 496.9 kB / 0.8198 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.317e-06/0.007276, allocations: 0 / 0.8198 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.477e-06/0.007279, allocations: 1.125 kB / 0.8198 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.378e-05/0.007313, allocations: 119.2 kB / 0.8199 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.478e-05/0.007348, allocations: 119.2 kB / 0.82 GB, free: 9.875 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.777e-05/0.007406, allocations: 39.36 kB / 0.8201 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.365e-05/0.007459, allocations: 123.2 kB / 0.8202 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.671e-05/0.007496, allocations: 123.2 kB / 0.8203 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.104e-05/0.007577, allocations: 243.1 kB / 0.8205 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.817e-05/0.007615, allocations: 123.1 kB / 0.8206 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.687e-05/0.007692, allocations: 247.3 kB / 0.8209 GB, free: 8.988 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.883e-05/0.007771, allocations: 123.1 kB / 0.821 GB, free: 8.867 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/0.007803, allocations: 119.2 kB / 0.8211 GB, free: 8.75 MB / 0.7761 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.0001399/0.007943, allocations: 396.1 kB / 0.8215 GB, free: 8.352 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.092e-05/0.008004, allocations: 148.8 kB / 0.8216 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.747e-05/0.008061, allocations: 160.8 kB / 0.8218 GB, free: 8.039 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.606e-05/0.008137, allocations: 268.3 kB / 0.822 GB, free: 7.77 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001104/0.008248, allocations: 268 kB / 0.8223 GB, free: 7.5 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.512e-05/0.008333, allocations: 274.3 kB / 0.8226 GB, free: 7.227 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.008577, allocations: 480.5 kB / 0.823 GB, free: 6.723 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.811e-05/0.008625, allocations: 152.9 kB / 0.8232 GB, free: 6.566 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.845e-05/0.008673, allocations: 148.9 kB / 0.8233 GB, free: 6.414 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.388e-05/0.008757, allocations: 272 kB / 0.8236 GB, free: 6.141 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-05/0.008839, allocations: 270.9 kB / 0.8238 GB, free: 5.871 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001565/0.008996, allocations: 276 kB / 0.8241 GB, free: 5.594 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.587e-05/0.009072, allocations: 268.1 kB / 0.8243 GB, free: 5.324 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.00924, allocations: 443.9 kB / 0.8248 GB, free: 4.863 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.041e-05/0.00929, allocations: 148.9 kB / 0.8249 GB, free: 4.711 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.293e-05/0.009383, allocations: 280 kB / 0.8252 GB, free: 4.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.076e-05/0.009464, allocations: 144.9 kB / 0.8253 GB, free: 4.281 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.727e-05/0.009541, allocations: 268.1 kB / 0.8256 GB, free: 4.012 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.314e-05/0.009584, allocations: 150.4 kB / 0.8257 GB, free: 3.859 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.636e-05/0.009631, allocations: 123.2 kB / 0.8258 GB, free: 3.738 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8.1e-08/0.009631, allocations: 0 / 0.8258 GB, free: 3.738 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003962/0.01003, allocations: 40.42 kB / 0.8259 GB, free: 3.699 MB / 0.7761 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.0005695/0.0106, allocations: 382.6 kB / 0.8262 GB, free: 3.367 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 3.473e-05/0.01063, allocations: 0 / 0.8262 GB, free: 3.367 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01063, allocations: 3.781 kB / 0.8262 GB, free: 3.367 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.01063, allocations: 0 / 0.8262 GB, free: 3.367 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.01107, allocations: 0.71 MB / 0.8269 GB, free: 2.652 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000319/0.01139, allocations: 208.9 kB / 0.8271 GB, free: 2.418 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.768e-05/0.01142, allocations: 51.36 kB / 0.8272 GB, free: 2.348 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.077e-05/0.01143, allocations: 0 / 0.8272 GB, free: 2.348 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.01147, allocations: 66.2 kB / 0.8272 GB, free: 2.281 MB / 0.7761 GB Notification: Performance of SimCode: time 1.142e-06/0.01147, allocations: 4 kB / 0.8272 GB, free: 2.277 MB / 0.7761 GB Notification: Performance of Templates: time 0.002912/0.01438, allocations: 1.179 MB / 0.8284 GB, free: 1.125 MB / 0.7761 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.2653744420968]