Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 108.7 kB / 18.94 MB, free: 2.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001773/0.001773, allocations: 192.7 kB / 22.23 MB, free: 5.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.029/3.029, allocations: 495.7 MB / 0.7831 GB, free: 33.62 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 67.39 kB / 1.137 GB, free: 33.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3081, allocations: 173.6 MB / 1.307 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.007012/0.3152, allocations: 4.997 MB / 1.312 GB, free: 12.93 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.179/0.4942, allocations: 151.2 MB / 1.459 GB, free: 5.145 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009815/0.4951, allocations: 23.81 kB / 1.459 GB, free: 5.121 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007319/0.4959, allocations: 198.2 kB / 1.46 GB, free: 4.926 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002287/0.4982, allocations: 0.5469 MB / 1.46 GB, free: 4.379 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002246/0.5004, allocations: 0.8548 MB / 1.461 GB, free: 3.531 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001657/0.5021, allocations: 1.381 MB / 1.462 GB, free: 2.145 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007733/0.5028, allocations: 409.9 kB / 1.463 GB, free: 1.715 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007158/0.5035, allocations: 494.3 kB / 1.463 GB, free: 1.23 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006393/0.5042, allocations: 0.4978 MB / 1.464 GB, free: 0.7305 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001684/0.5044, allocations: 115.9 kB / 1.464 GB, free: 0.6172 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.5054, allocations: 487.6 kB / 1.464 GB, free: 144 kB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003302/0.5057, allocations: 291.1 kB / 1.465 GB, free: 15.86 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005497/0.5062, allocations: 0.5596 MB / 1.465 GB, free: 15.29 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002155/0.5084, allocations: 1.623 MB / 1.467 GB, free: 13.66 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.5084, allocations: 0 / 1.467 GB, free: 13.66 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.334e-06/0.5084, allocations: 0 / 1.467 GB, free: 13.66 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.613e-05/0.5084, allocations: 0 / 1.467 GB, free: 13.66 MB / 1.17 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.002674/0.5111, allocations: 1.384 MB / 1.468 GB, free: 12.25 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.5111, allocations: 8.031 kB / 1.468 GB, free: 12.24 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009559/0.5121, allocations: 192.1 kB / 1.468 GB, free: 12.05 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.5134, allocations: 0.694 MB / 1.469 GB, free: 11.33 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.01e-05/0.5134, allocations: 66 kB / 1.469 GB, free: 11.27 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.5136, allocations: 76 kB / 1.469 GB, free: 11.2 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/0.5152, allocations: 0.9191 MB / 1.47 GB, free: 10.23 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.5152, allocations: 0 / 1.47 GB, free: 10.23 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.934e-05/0.5153, allocations: 40 kB / 1.47 GB, free: 10.19 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/0.5153, allocations: 24 kB / 1.47 GB, free: 10.17 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001836/0.5172, allocations: 1.093 MB / 1.471 GB, free: 9.078 MB / 1.17 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.004137/0.5213, allocations: 2.766 MB / 1.474 GB, free: 6.176 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/0.5228, allocations: 0.7429 MB / 1.475 GB, free: 5.422 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005397/0.5233, allocations: 270.6 kB / 1.475 GB, free: 5.156 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.043e-05/0.5234, allocations: 32.61 kB / 1.475 GB, free: 5.125 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009077/0.5243, allocations: 491.3 kB / 1.475 GB, free: 4.625 MB / 1.17 GB Notification: Performance of pre-optimization done (n=78): time 2.024e-06/0.5243, allocations: 0 / 1.475 GB, free: 4.625 MB / 1.17 GB Notification: Performance of matching and sorting (n=78): time 0.00325/0.5276, allocations: 1.103 MB / 1.476 GB, free: 3.516 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/0.5277, allocations: 188.6 kB / 1.477 GB, free: 3.285 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008224/0.5285, allocations: 0.6371 MB / 1.477 GB, free: 2.641 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.164e-05/0.5286, allocations: 41.7 kB / 1.477 GB, free: 2.594 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/0.5289, allocations: 405 kB / 1.478 GB, free: 2.191 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002372/0.5292, allocations: 273.7 kB / 1.478 GB, free: 1.922 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002642/0.5294, allocations: 162.6 kB / 1.478 GB, free: 1.754 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001975/0.5296, allocations: 386.7 kB / 1.478 GB, free: 1.367 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005519/0.5302, allocations: 261.9 kB / 1.479 GB, free: 1.113 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006692/0.5308, allocations: 371.9 kB / 1.479 GB, free: 0.7344 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.532, allocations: 0.6003 MB / 1.48 GB, free: 124 kB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.532, allocations: 0 / 1.48 GB, free: 124 kB / 1.17 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002054/0.5341, allocations: 0.8453 MB / 1.48 GB, free: 15.27 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.5341, allocations: 4 kB / 1.48 GB, free: 15.26 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.5341, allocations: 0 / 1.48 GB, free: 15.26 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000613/0.5347, allocations: 88.83 kB / 1.48 GB, free: 15.17 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006749/0.5354, allocations: 167.7 kB / 1.481 GB, free: 15.01 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002179/0.5376, allocations: 1.52 MB / 1.482 GB, free: 13.36 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007137/0.5383, allocations: 91.5 kB / 1.482 GB, free: 13.27 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.336e-05/0.5384, allocations: 35.97 kB / 1.482 GB, free: 13.24 MB / 1.186 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.0004206/0.5388, allocations: 272.2 kB / 1.483 GB, free: 12.96 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.5389, allocations: 87.44 kB / 1.483 GB, free: 12.88 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002461/0.5414, allocations: 1.05 MB / 1.484 GB, free: 11.81 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.5414, allocations: 12.03 kB / 1.484 GB, free: 11.8 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.5414, allocations: 3.938 kB / 1.484 GB, free: 11.79 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.5414, allocations: 3.984 kB / 1.484 GB, free: 11.79 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.5425, allocations: 0.856 MB / 1.484 GB, free: 10.89 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.5425, allocations: 0 / 1.484 GB, free: 10.89 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00059/0.5431, allocations: 143.8 kB / 1.485 GB, free: 10.75 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004776/0.5436, allocations: 72.78 kB / 1.485 GB, free: 10.68 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.656e-05/0.5436, allocations: 23.98 kB / 1.485 GB, free: 10.65 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00202/0.5457, allocations: 1.551 MB / 1.486 GB, free: 8.984 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5457, allocations: 0 / 1.486 GB, free: 8.984 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/0.5477, allocations: 0.9205 MB / 1.487 GB, free: 8.039 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000406/0.5481, allocations: 191.1 kB / 1.487 GB, free: 7.852 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.5482, allocations: 24.05 kB / 1.487 GB, free: 7.828 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006203/0.5488, allocations: 66.44 kB / 1.487 GB, free: 7.766 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.549, allocations: 72.86 kB / 1.487 GB, free: 7.695 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.267e-05/0.5491, allocations: 35.92 kB / 1.487 GB, free: 7.66 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0005914/0.5497, allocations: 463 kB / 1.488 GB, free: 7.215 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5497, allocations: 3.938 kB / 1.488 GB, free: 7.211 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008491/0.5505, allocations: 327.2 kB / 1.488 GB, free: 6.891 MB / 1.186 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.001943/0.5524, allocations: 0.5987 MB / 1.489 GB, free: 6.465 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001696/0.5541, allocations: 0.7923 MB / 1.49 GB, free: 5.66 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5541, allocations: 0 / 1.49 GB, free: 5.66 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009647/0.5551, allocations: 492.2 kB / 1.49 GB, free: 5.168 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.5563, allocations: 306.2 kB / 1.49 GB, free: 4.887 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002961/0.5593, allocations: 1.682 MB / 1.492 GB, free: 3.176 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006569/0.5599, allocations: 1.019 MB / 1.493 GB, free: 2.133 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0007424/0.5607, allocations: 266.5 kB / 1.493 GB, free: 1.867 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002657/0.5609, allocations: 103.4 kB / 1.493 GB, free: 1.766 MB / 1.186 GB Notification: Performance of SimCode: time 3.61e-07/0.5609, allocations: 0 / 1.493 GB, free: 1.766 MB / 1.186 GB Notification: Performance of Templates: time 0.02831/0.5892, allocations: 15.69 MB / 1.509 GB, free: 2.238 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.241517636924982]