Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.001311/0.001311, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001401/0.001401, allocations: 191.1 kB / 22.11 MB, free: 5.156 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.446/1.446, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.218/3.218, allocations: 495.8 MB / 0.783 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 72.22 kB / 1.137 GB, free: 33.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3838, allocations: 173.6 MB / 1.307 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007586/0.3914, allocations: 5.291 MB / 1.312 GB, free: 12.54 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.2018/0.5933, allocations: 149.6 MB / 1.458 GB, free: 6.32 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/0.5943, allocations: 23.81 kB / 1.458 GB, free: 6.297 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006858/0.595, allocations: 206.1 kB / 1.458 GB, free: 6.094 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002003/0.597, allocations: 0.5824 MB / 1.459 GB, free: 5.512 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002269/0.5993, allocations: 0.8567 MB / 1.46 GB, free: 4.66 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001963/0.6013, allocations: 1.455 MB / 1.461 GB, free: 3.199 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000829/0.6021, allocations: 438.8 kB / 1.461 GB, free: 2.742 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008348/0.6029, allocations: 0.5139 MB / 1.462 GB, free: 2.227 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007181/0.6036, allocations: 0.529 MB / 1.463 GB, free: 1.695 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001862/0.6038, allocations: 124 kB / 1.463 GB, free: 1.574 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.6049, allocations: 475.6 kB / 1.463 GB, free: 1.109 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003517/0.6052, allocations: 314.9 kB / 1.463 GB, free: 0.8008 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006178/0.6058, allocations: 0.583 MB / 1.464 GB, free: 220 kB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002393/0.6082, allocations: 1.693 MB / 1.466 GB, free: 14.52 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.6082, allocations: 4 kB / 1.466 GB, free: 14.51 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.814e-06/0.6082, allocations: 0 / 1.466 GB, free: 14.51 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.689e-05/0.6083, allocations: 0 / 1.466 GB, free: 14.51 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002975/0.6112, allocations: 1.451 MB / 1.467 GB, free: 13.03 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.6113, allocations: 8.031 kB / 1.467 GB, free: 13.02 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000994/0.6123, allocations: 196 kB / 1.467 GB, free: 12.83 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.6137, allocations: 0.7259 MB / 1.468 GB, free: 12.07 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.889e-05/0.6137, allocations: 66 kB / 1.468 GB, free: 12.01 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.6139, allocations: 88 kB / 1.468 GB, free: 11.92 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/0.6157, allocations: 0.9496 MB / 1.469 GB, free: 10.93 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.6157, allocations: 4 kB / 1.469 GB, free: 10.93 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.435e-05/0.6158, allocations: 36 kB / 1.469 GB, free: 10.89 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/0.6158, allocations: 20 kB / 1.469 GB, free: 10.88 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002047/0.6179, allocations: 1.139 MB / 1.47 GB, free: 9.734 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.004783/0.6226, allocations: 2.793 MB / 1.473 GB, free: 6.809 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.6244, allocations: 0.8049 MB / 1.474 GB, free: 5.992 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006081/0.625, allocations: 294.7 kB / 1.474 GB, free: 5.699 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.44e-05/0.6251, allocations: 28.7 kB / 1.474 GB, free: 5.672 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009849/0.6261, allocations: 0.5139 MB / 1.474 GB, free: 5.145 MB / 1.17 GB Notification: Performance of pre-optimization done (n=85): time 2.876e-06/0.6261, allocations: 0 / 1.474 GB, free: 5.145 MB / 1.17 GB Notification: Performance of matching and sorting (n=85): time 0.003587/0.6297, allocations: 1.176 MB / 1.476 GB, free: 3.957 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000141/0.6298, allocations: 192.9 kB / 1.476 GB, free: 3.727 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.6308, allocations: 0.6567 MB / 1.476 GB, free: 3.059 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.962e-05/0.6309, allocations: 41.7 kB / 1.477 GB, free: 3.012 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004031/0.6313, allocations: 417.1 kB / 1.477 GB, free: 2.598 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002866/0.6316, allocations: 293.5 kB / 1.477 GB, free: 2.309 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002769/0.6319, allocations: 166.6 kB / 1.477 GB, free: 2.141 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002201/0.6321, allocations: 390.7 kB / 1.478 GB, free: 1.75 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005897/0.6327, allocations: 277.9 kB / 1.478 GB, free: 1.477 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007099/0.6334, allocations: 379.1 kB / 1.478 GB, free: 1.094 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/0.6347, allocations: 0.632 MB / 1.479 GB, free: 460 kB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.6347, allocations: 0 / 1.479 GB, free: 460 kB / 1.17 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002247/0.637, allocations: 0.892 MB / 1.48 GB, free: 15.55 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.637, allocations: 4 kB / 1.48 GB, free: 15.55 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.637, allocations: 3.938 kB / 1.48 GB, free: 15.54 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006344/0.6376, allocations: 80.86 kB / 1.48 GB, free: 15.46 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007248/0.6384, allocations: 175.8 kB / 1.48 GB, free: 15.29 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002472/0.6408, allocations: 1.532 MB / 1.482 GB, free: 13.64 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008815/0.6417, allocations: 96.55 kB / 1.482 GB, free: 13.54 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.077e-05/0.6418, allocations: 35.98 kB / 1.482 GB, free: 13.51 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (100): * Single equations (assignments): 99 * 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.0005795/0.6424, allocations: 276.3 kB / 1.482 GB, free: 13.23 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/0.6426, allocations: 87.44 kB / 1.482 GB, free: 13.14 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002704/0.6453, allocations: 1.093 MB / 1.483 GB, free: 12.04 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.6453, allocations: 8 kB / 1.483 GB, free: 12.03 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.6453, allocations: 0 / 1.483 GB, free: 12.03 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.6453, allocations: 4.031 kB / 1.483 GB, free: 12.03 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.6466, allocations: 0.9066 MB / 1.484 GB, free: 11.08 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.6466, allocations: 0 / 1.484 GB, free: 11.08 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006826/0.6473, allocations: 167.7 kB / 1.484 GB, free: 10.91 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004773/0.6478, allocations: 68.8 kB / 1.484 GB, free: 10.84 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.561e-05/0.6479, allocations: 31.97 kB / 1.484 GB, free: 10.81 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002173/0.65, allocations: 1.547 MB / 1.486 GB, free: 9.137 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.65, allocations: 0 / 1.486 GB, free: 9.137 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003097/0.6531, allocations: 1.375 MB / 1.487 GB, free: 7.746 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004961/0.6536, allocations: 199.1 kB / 1.487 GB, free: 7.551 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/0.6538, allocations: 35.88 kB / 1.487 GB, free: 7.516 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000662/0.6544, allocations: 60.92 kB / 1.487 GB, free: 7.457 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002076/0.6546, allocations: 72.86 kB / 1.487 GB, free: 7.383 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.421e-05/0.6547, allocations: 39.97 kB / 1.488 GB, free: 7.344 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007194/0.6554, allocations: 467 kB / 1.488 GB, free: 6.891 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6554, allocations: 4 kB / 1.488 GB, free: 6.887 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001016/0.6565, allocations: 343.2 kB / 1.488 GB, free: 6.551 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * 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 (96): * Single equations (assignments): 90 * 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.002066/0.6585, allocations: 0.6113 MB / 1.489 GB, free: 6.113 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00198/0.6605, allocations: 0.8274 MB / 1.49 GB, free: 5.277 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.6605, allocations: 0 / 1.49 GB, free: 5.277 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.6616, allocations: 0.5002 MB / 1.49 GB, free: 4.766 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.6629, allocations: 314.4 kB / 1.49 GB, free: 4.484 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003908/0.6668, allocations: 1.878 MB / 1.492 GB, free: 2.57 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007902/0.6676, allocations: 1.039 MB / 1.493 GB, free: 1.504 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0008774/0.6685, allocations: 262.8 kB / 1.494 GB, free: 1.242 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002976/0.6687, allocations: 107.4 kB / 1.494 GB, free: 1.137 MB / 1.186 GB Notification: Performance of SimCode: time 1.472e-06/0.6687, allocations: 0 / 1.494 GB, free: 1.137 MB / 1.186 GB Notification: Performance of Templates: time 0.03113/0.6999, allocations: 16.16 MB / 1.509 GB, free: 1.156 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.997388018295169]