Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.001775/0.001775, allocations: 77.23 kB / 19.76 MB, free: 2.031 MB / 14.72 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.002092/0.002092, allocations: 158.3 kB / 23.01 MB, free: 4.941 MB / 14.72 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.516/1.516, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.79/2.79, allocations: 377.9 MB / 0.6228 GB, free: 12.64 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003417/0.003417, allocations: 67.89 kB / 0.9819 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8682/0.8716, allocations: 176.1 MB / 1.154 GB, free: 33.27 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.005571/0.8772, allocations: 4.505 MB / 1.158 GB, free: 30.28 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1714/1.049, allocations: 132.7 MB / 1.288 GB, free: 4.84 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000887/1.049, allocations: 22.72 kB / 1.288 GB, free: 4.828 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0008659/1.05, allocations: 199 kB / 1.288 GB, free: 4.691 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002323/1.053, allocations: 0.5573 MB / 1.289 GB, free: 4.359 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002725/1.055, allocations: 0.859 MB / 1.289 GB, free: 3.887 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002277/1.058, allocations: 1.402 MB / 1.291 GB, free: 3.152 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009556/1.059, allocations: 392.1 kB / 1.291 GB, free: 2.918 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001102/1.06, allocations: 0.4998 MB / 1.292 GB, free: 2.672 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/1.061, allocations: 455.7 kB / 1.292 GB, free: 2.461 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002394/1.061, allocations: 116.8 kB / 1.292 GB, free: 2.461 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/1.062, allocations: 494.7 kB / 1.293 GB, free: 2.344 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003397/1.063, allocations: 308.1 kB / 1.293 GB, free: 2.145 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005472/1.063, allocations: 459.8 kB / 1.293 GB, free: 1.879 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.00259/1.066, allocations: 1.678 MB / 1.295 GB, free: 1.168 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.066, allocations: 1.312 kB / 1.295 GB, free: 1.168 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.883e-06/1.066, allocations: 0 / 1.295 GB, free: 1.168 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.047e-05/1.066, allocations: 3.938 kB / 1.295 GB, free: 1.164 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.003092/1.069, allocations: 1.417 MB / 1.296 GB, free: 236 kB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/1.069, allocations: 9.281 kB / 1.296 GB, free: 236 kB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/1.07, allocations: 228.4 kB / 1.297 GB, free: 168 kB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/1.072, allocations: 0.7152 MB / 1.297 GB, free: 15.71 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.274e-05/1.072, allocations: 60.67 kB / 1.297 GB, free: 15.68 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/1.072, allocations: 82.31 kB / 1.298 GB, free: 15.66 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/1.074, allocations: 1.164 MB / 1.299 GB, free: 14.88 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.882e-05/1.074, allocations: 4.844 kB / 1.299 GB, free: 14.88 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.183e-05/1.074, allocations: 35.89 kB / 1.299 GB, free: 14.85 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/1.074, allocations: 21 kB / 1.299 GB, free: 14.85 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001914/1.076, allocations: 1.049 MB / 1.3 GB, free: 14.32 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0039/1.08, allocations: 2.159 MB / 1.302 GB, free: 12.69 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/1.081, allocations: 0.7409 MB / 1.303 GB, free: 12.3 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005193/1.082, allocations: 267.8 kB / 1.303 GB, free: 12.16 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 7.578e-05/1.082, allocations: 26.67 kB / 1.303 GB, free: 12.15 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009293/1.083, allocations: 0.5823 MB / 1.303 GB, free: 11.71 MB / 1.154 GB Notification: Performance of pre-optimization done (n=78): time 2.415e-06/1.083, allocations: 0 / 1.303 GB, free: 11.71 MB / 1.154 GB Notification: Performance of matching and sorting (n=78): time 0.003302/1.086, allocations: 1.097 MB / 1.304 GB, free: 11.17 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/1.086, allocations: 193.1 kB / 1.305 GB, free: 10.94 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008498/1.087, allocations: 0.6134 MB / 1.305 GB, free: 10.58 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.651e-05/1.087, allocations: 42.92 kB / 1.305 GB, free: 10.54 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003491/1.088, allocations: 405.9 kB / 1.306 GB, free: 10.18 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/1.088, allocations: 270 kB / 1.306 GB, free: 9.945 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002799/1.088, allocations: 162.7 kB / 1.306 GB, free: 9.848 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002095/1.088, allocations: 388.3 kB / 1.306 GB, free: 9.477 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005377/1.089, allocations: 262 kB / 1.307 GB, free: 9.348 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007314/1.09, allocations: 491.7 kB / 1.307 GB, free: 8.98 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/1.091, allocations: 0.6052 MB / 1.308 GB, free: 8.652 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/1.091, allocations: 0 / 1.308 GB, free: 8.652 MB / 1.154 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002085/1.093, allocations: 0.8433 MB / 1.309 GB, free: 8.215 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/1.093, allocations: 5.844 kB / 1.309 GB, free: 8.215 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/1.093, allocations: 1.5 kB / 1.309 GB, free: 8.215 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006393/1.094, allocations: 89.45 kB / 1.309 GB, free: 8.168 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006763/1.094, allocations: 165.9 kB / 1.309 GB, free: 8.121 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002366/1.097, allocations: 1.498 MB / 1.31 GB, free: 6.688 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007554/1.097, allocations: 86 kB / 1.31 GB, free: 6.633 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.291e-05/1.097, allocations: 35.48 kB / 1.31 GB, free: 6.621 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004467/1.098, allocations: 271 kB / 1.311 GB, free: 6.41 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/1.098, allocations: 81.89 kB / 1.311 GB, free: 6.367 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002418/1.1, allocations: 1.045 MB / 1.312 GB, free: 5.781 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/1.1, allocations: 8.719 kB / 1.312 GB, free: 5.781 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/1.1, allocations: 3.938 kB / 1.312 GB, free: 5.777 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/1.1, allocations: 5.172 kB / 1.312 GB, free: 5.773 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/1.102, allocations: 0.6278 MB / 1.312 GB, free: 5.336 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/1.102, allocations: 1.062 kB / 1.312 GB, free: 5.336 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006162/1.102, allocations: 143.4 kB / 1.313 GB, free: 5.301 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004804/1.103, allocations: 86.38 kB / 1.313 GB, free: 5.25 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.153e-05/1.103, allocations: 22.83 kB / 1.313 GB, free: 5.234 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002339/1.105, allocations: 1.527 MB / 1.314 GB, free: 3.789 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.105, allocations: 0 / 1.314 GB, free: 3.789 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002469/1.107, allocations: 0.922 MB / 1.315 GB, free: 3.012 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004973/1.108, allocations: 187.1 kB / 1.315 GB, free: 2.828 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/1.108, allocations: 23.95 kB / 1.315 GB, free: 2.805 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006275/1.109, allocations: 63.92 kB / 1.315 GB, free: 2.742 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/1.109, allocations: 72.86 kB / 1.315 GB, free: 2.668 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.696e-05/1.109, allocations: 35.98 kB / 1.315 GB, free: 2.633 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006413/1.11, allocations: 443 kB / 1.316 GB, free: 2.203 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.11, allocations: 0 / 1.316 GB, free: 2.203 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001002/1.111, allocations: 323.2 kB / 1.316 GB, free: 1.887 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002101/1.113, allocations: 0.6462 MB / 1.317 GB, free: 1.449 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001813/1.115, allocations: 0.7842 MB / 1.318 GB, free: 0.6562 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/1.115, allocations: 4.25 kB / 1.318 GB, free: 0.6523 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/1.116, allocations: 496.2 kB / 1.318 GB, free: 160 kB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/1.117, allocations: 285.1 kB / 1.318 GB, free: 15.89 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003264/1.12, allocations: 1.712 MB / 1.32 GB, free: 14.16 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005079/1.121, allocations: 439.9 kB / 1.32 GB, free: 13.7 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008423/1.122, allocations: 262.5 kB / 1.321 GB, free: 13.43 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000291/1.122, allocations: 108.4 kB / 1.321 GB, free: 13.33 MB / 1.17 GB Notification: Performance of SimCode: time 6.91e-07/1.122, allocations: 0 / 1.321 GB, free: 13.33 MB / 1.17 GB Notification: Performance of Templates: time 0.02949/1.151, allocations: 15.17 MB / 1.336 GB, free: 14.44 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.84645371499937]