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.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.0007928/0.0007928, allocations: 80.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 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.0007865/0.0007865, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.889/0.889, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.756/1.756, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.9996 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.49e-05/1.632e-05, allocations: 10.22 kB / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.004389/0.004405, allocations: 4.478 MB / 1.004 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5472/0.5516, allocations: 132.7 MB / 1.134 GB, free: 14.93 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000686/0.5523, allocations: 22.75 kB / 1.134 GB, free: 14.92 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005398/0.5528, allocations: 203.1 kB / 1.134 GB, free: 14.79 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.5542, allocations: 0.5802 MB / 1.134 GB, free: 14.45 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.5556, allocations: 0.868 MB / 1.135 GB, free: 14 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001121/0.5568, allocations: 1.455 MB / 1.137 GB, free: 13.23 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005544/0.5573, allocations: 397.5 kB / 1.137 GB, free: 13 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006549/0.558, allocations: 0.7281 MB / 1.138 GB, free: 12.66 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003803/0.5583, allocations: 412.4 kB / 1.138 GB, free: 12.5 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.5585, allocations: 121 kB / 1.138 GB, free: 12.5 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006477/0.5591, allocations: 0.4924 MB / 1.139 GB, free: 12.39 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002172/0.5593, allocations: 313.4 kB / 1.139 GB, free: 12.19 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002783/0.5596, allocations: 395.5 kB / 1.139 GB, free: 11.99 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001616/0.5612, allocations: 1.795 MB / 1.141 GB, free: 11.24 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.5612, allocations: 0 / 1.141 GB, free: 11.24 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5612, allocations: 0 / 1.141 GB, free: 11.24 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.219e-05/0.5612, allocations: 0 / 1.141 GB, free: 11.24 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001755/0.563, allocations: 1.431 MB / 1.143 GB, free: 10.3 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.563, allocations: 9.906 kB / 1.143 GB, free: 10.3 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001308/0.5632, allocations: 139.3 kB / 1.143 GB, free: 10.21 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007814/0.5639, allocations: 232.9 kB / 1.143 GB, free: 10.14 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009794/0.5649, allocations: 0.7271 MB / 1.144 GB, free: 9.684 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.899e-05/0.565, allocations: 67.48 kB / 1.144 GB, free: 9.656 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.782e-05/0.5651, allocations: 90.72 kB / 1.144 GB, free: 9.625 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.5663, allocations: 1.18 MB / 1.145 GB, free: 8.879 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.5663, allocations: 8.984 kB / 1.145 GB, free: 8.871 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.927e-05/0.5663, allocations: 37.89 kB / 1.145 GB, free: 8.844 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.5664, allocations: 24.88 kB / 1.145 GB, free: 8.84 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.5677, allocations: 1.053 MB / 1.146 GB, free: 8.59 MB / 1.01 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.003288/0.571, allocations: 2.409 MB / 1.148 GB, free: 7.145 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.5721, allocations: 0.7784 MB / 1.149 GB, free: 6.848 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003798/0.5725, allocations: 288.2 kB / 1.149 GB, free: 6.734 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.09e-05/0.5725, allocations: 26.78 kB / 1.149 GB, free: 6.73 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006805/0.5732, allocations: 0.6001 MB / 1.15 GB, free: 6.398 MB / 1.01 GB Notification: Performance of pre-optimization done (n=86): time 2.585e-06/0.5732, allocations: 3.281 kB / 1.15 GB, free: 6.398 MB / 1.01 GB Notification: Performance of matching and sorting (n=86): time 0.002035/0.5752, allocations: 1.16 MB / 1.151 GB, free: 5.977 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.101e-05/0.5753, allocations: 208.2 kB / 1.151 GB, free: 5.742 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000666/0.576, allocations: 0.6683 MB / 1.152 GB, free: 5.449 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.705e-05/0.576, allocations: 49.38 kB / 1.152 GB, free: 5.402 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/0.5763, allocations: 408.9 kB / 1.152 GB, free: 5.082 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.5764, allocations: 287.6 kB / 1.153 GB, free: 4.852 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.5766, allocations: 163.4 kB / 1.153 GB, free: 4.777 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.5768, allocations: 389.8 kB / 1.153 GB, free: 4.434 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003842/0.5771, allocations: 268.9 kB / 1.154 GB, free: 4.34 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005165/0.5777, allocations: 0.508 MB / 1.154 GB, free: 3.98 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008077/0.5785, allocations: 0.6217 MB / 1.155 GB, free: 3.688 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.5785, allocations: 0 / 1.155 GB, free: 3.688 MB / 1.01 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001304/0.5798, allocations: 0.8714 MB / 1.155 GB, free: 3.328 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.5798, allocations: 6.688 kB / 1.156 GB, free: 3.328 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.5798, allocations: 1.125 kB / 1.156 GB, free: 3.328 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000336/0.5801, allocations: 84.5 kB / 1.156 GB, free: 3.309 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003819/0.5805, allocations: 157.3 kB / 1.156 GB, free: 3.293 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.582, allocations: 1.521 MB / 1.157 GB, free: 1.895 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004219/0.5824, allocations: 97.62 kB / 1.157 GB, free: 1.848 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.867e-05/0.5825, allocations: 31.02 kB / 1.157 GB, free: 1.844 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 25 (weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (98): * Single equations (assignments): 97 * 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.0003223/0.5828, allocations: 283.2 kB / 1.158 GB, free: 1.633 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.5829, allocations: 90.28 kB / 1.158 GB, free: 1.586 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001582/0.5845, allocations: 1.075 MB / 1.159 GB, free: 1.16 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.5845, allocations: 13.44 kB / 1.159 GB, free: 1.156 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.5845, allocations: 0.5625 kB / 1.159 GB, free: 1.156 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.5845, allocations: 5.875 kB / 1.159 GB, free: 1.156 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002531/0.5871, allocations: 1.976 MB / 1.161 GB, free: 196 kB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.5871, allocations: 4.5 kB / 1.161 GB, free: 196 kB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003226/0.5874, allocations: 145.6 kB / 1.161 GB, free: 180 kB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002351/0.5876, allocations: 81.08 kB / 1.161 GB, free: 152 kB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.26e-05/0.5877, allocations: 26.23 kB / 1.161 GB, free: 140 kB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001218/0.5889, allocations: 1.547 MB / 1.162 GB, free: 14.72 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5889, allocations: 0 / 1.162 GB, free: 14.72 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.5902, allocations: 1.026 MB / 1.163 GB, free: 14.25 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002954/0.5905, allocations: 207.8 kB / 1.164 GB, free: 14.13 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.047e-05/0.5906, allocations: 28.36 kB / 1.164 GB, free: 14.11 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003315/0.5909, allocations: 62.42 kB / 1.164 GB, free: 14.1 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.5911, allocations: 78.98 kB / 1.164 GB, free: 14.08 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.271e-05/0.5911, allocations: 32.41 kB / 1.164 GB, free: 14.08 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0004496/0.5916, allocations: 481.4 kB / 1.164 GB, free: 13.87 MB / 1.026 GB Notification: Performance of sort global known variables: time 8e-08/0.5916, allocations: 1.25 kB / 1.164 GB, free: 13.87 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0007362/0.5923, allocations: 323.4 kB / 1.165 GB, free: 13.78 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002431/0.5947, allocations: 2.128 MB / 1.167 GB, free: 12.61 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.001155/0.5959, allocations: 0.8027 MB / 1.167 GB, free: 12.27 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5959, allocations: 5.141 kB / 1.167 GB, free: 12.27 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0005671/0.5964, allocations: 0.4948 MB / 1.168 GB, free: 12.03 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007747/0.5972, allocations: 298.8 kB / 1.168 GB, free: 11.94 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007311/0.6045, allocations: 6.555 MB / 1.175 GB, free: 8.574 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.6049, allocations: 439.8 kB / 1.175 GB, free: 8.445 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.000591/0.6055, allocations: 270.5 kB / 1.175 GB, free: 8.367 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004439/0.6059, allocations: 392.1 kB / 1.176 GB, free: 8.102 MB / 1.026 GB Notification: Performance of SimCode: time 9.02e-07/0.6059, allocations: 0 / 1.176 GB, free: 8.102 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03837/0.6443, allocations: 24.14 MB / 1.199 GB, free: 14.91 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.715/9.359, allocations: 0 / 1.199 GB, free: 14.91 MB / 1.042 GB " [Timeout remaining time 290] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.csv --start-time 0 --stop-time 1e+06 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.csv","/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: 13.669754412956536]