Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.00138/0.00138, allocations: 104 kB / 16.45 MB, free: 6.449 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.001436/0.001436, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.44/1.44, allocations: 230.6 MB / 252.8 MB, free: 9.137 MB / 206.1 MB " [Timeout remaining time 178] 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 3.142/3.142, allocations: 0.505 GB / 0.8066 GB, free: 23.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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.SimpleHouse1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) [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.002016/0.002016, allocations: 69.95 kB / 1.172 GB, free: 17.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3452, allocations: 180.2 MB / 1.348 GB, free: 10.13 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007302/0.3525, allocations: 5.197 MB / 1.353 GB, free: 4.906 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1729/0.5254, allocations: 154 MB / 1.503 GB, free: 10.29 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008552/0.5262, allocations: 23.81 kB / 1.503 GB, free: 10.27 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0007638/0.527, allocations: 206.1 kB / 1.503 GB, free: 10.07 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00211/0.5291, allocations: 0.5836 MB / 1.504 GB, free: 9.484 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002184/0.5313, allocations: 0.8689 MB / 1.505 GB, free: 8.621 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001915/0.5332, allocations: 1.436 MB / 1.506 GB, free: 7.18 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008735/0.5341, allocations: 429.7 kB / 1.507 GB, free: 6.734 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008289/0.5349, allocations: 0.5217 MB / 1.507 GB, free: 6.211 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007871/0.5357, allocations: 0.5212 MB / 1.508 GB, free: 5.688 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002439/0.5359, allocations: 124 kB / 1.508 GB, free: 5.566 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.537, allocations: 0.5035 MB / 1.508 GB, free: 5.062 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003308/0.5373, allocations: 303 kB / 1.509 GB, free: 4.766 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007408/0.5381, allocations: 0.583 MB / 1.509 GB, free: 4.18 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002604/0.5407, allocations: 1.728 MB / 1.511 GB, free: 2.445 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5407, allocations: 0 / 1.511 GB, free: 2.445 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.522e-06/0.5407, allocations: 4 kB / 1.511 GB, free: 2.441 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.637e-05/0.5407, allocations: 0 / 1.511 GB, free: 2.441 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003058/0.5438, allocations: 1.534 MB / 1.512 GB, free: 0.8516 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.5438, allocations: 15.98 kB / 1.512 GB, free: 0.8359 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001864/0.544, allocations: 135.6 kB / 1.512 GB, free: 0.6953 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001527/0.5455, allocations: 236 kB / 1.513 GB, free: 476 kB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/0.5469, allocations: 0.794 MB / 1.513 GB, free: 15.63 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.203e-05/0.547, allocations: 66 kB / 1.514 GB, free: 15.56 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.5471, allocations: 87.95 kB / 1.514 GB, free: 15.48 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/0.5489, allocations: 0.934 MB / 1.515 GB, free: 14.5 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.5489, allocations: 8 kB / 1.515 GB, free: 14.5 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.102e-05/0.549, allocations: 36 kB / 1.515 GB, free: 14.46 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.549, allocations: 20 kB / 1.515 GB, free: 14.44 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/0.5509, allocations: 1.12 MB / 1.516 GB, free: 13.32 MB / 1.217 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.004577/0.5555, allocations: 2.827 MB / 1.518 GB, free: 10.35 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.5571, allocations: 0.7653 MB / 1.519 GB, free: 9.582 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005731/0.5577, allocations: 282.7 kB / 1.519 GB, free: 9.305 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 8.519e-05/0.5578, allocations: 40.53 kB / 1.52 GB, free: 9.266 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009203/0.5587, allocations: 497 kB / 1.52 GB, free: 8.762 MB / 1.217 GB Notification: Performance of pre-optimization done (n=82): time 2.515e-06/0.5587, allocations: 0 / 1.52 GB, free: 8.762 MB / 1.217 GB Notification: Performance of matching and sorting (n=82): time 0.003498/0.5622, allocations: 1.21 MB / 1.521 GB, free: 7.523 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.5623, allocations: 192.6 kB / 1.521 GB, free: 7.293 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000947/0.5633, allocations: 0.6685 MB / 1.522 GB, free: 6.617 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 8.703e-05/0.5634, allocations: 49.69 kB / 1.522 GB, free: 6.562 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003588/0.5637, allocations: 421 kB / 1.522 GB, free: 6.145 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002588/0.564, allocations: 285.5 kB / 1.523 GB, free: 5.863 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002461/0.5642, allocations: 146.6 kB / 1.523 GB, free: 5.715 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002054/0.5644, allocations: 394.8 kB / 1.523 GB, free: 5.32 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005516/0.565, allocations: 249.9 kB / 1.523 GB, free: 5.074 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006711/0.5657, allocations: 366.5 kB / 1.524 GB, free: 4.691 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.5668, allocations: 0.5877 MB / 1.524 GB, free: 4.094 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.5668, allocations: 0 / 1.524 GB, free: 4.094 MB / 1.217 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002088/0.5689, allocations: 0.8256 MB / 1.525 GB, free: 3.258 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.5689, allocations: 4 kB / 1.525 GB, free: 3.254 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.5689, allocations: 4 kB / 1.525 GB, free: 3.25 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006278/0.5696, allocations: 80.88 kB / 1.525 GB, free: 3.168 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006742/0.5702, allocations: 155.8 kB / 1.525 GB, free: 3.016 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002402/0.5726, allocations: 1.627 MB / 1.527 GB, free: 1.246 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007248/0.5734, allocations: 101.7 kB / 1.527 GB, free: 1.148 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.636e-05/0.5734, allocations: 36.05 kB / 1.527 GB, free: 1.113 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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 (89): * Single equations (assignments): 88 * 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.0004536/0.5739, allocations: 261.6 kB / 1.527 GB, free: 0.8477 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002202/0.5741, allocations: 95.42 kB / 1.528 GB, free: 0.7539 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002647/0.5768, allocations: 1.074 MB / 1.529 GB, free: 15.66 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.5768, allocations: 8 kB / 1.529 GB, free: 15.66 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.5768, allocations: 0 / 1.529 GB, free: 15.66 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.5768, allocations: 3.984 kB / 1.529 GB, free: 15.65 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/0.578, allocations: 0.9192 MB / 1.529 GB, free: 14.69 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.578, allocations: 0 / 1.529 GB, free: 14.69 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000648/0.5787, allocations: 163.7 kB / 1.53 GB, free: 14.53 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000473/0.5791, allocations: 68.73 kB / 1.53 GB, free: 14.46 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.087e-05/0.5792, allocations: 27.97 kB / 1.53 GB, free: 14.43 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002049/0.5813, allocations: 1.658 MB / 1.531 GB, free: 12.62 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5813, allocations: 0 / 1.531 GB, free: 12.62 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002908/0.5842, allocations: 1.336 MB / 1.533 GB, free: 11.27 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004393/0.5846, allocations: 288.3 kB / 1.533 GB, free: 10.96 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/0.5848, allocations: 31.86 kB / 1.533 GB, free: 10.93 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006674/0.5854, allocations: 55.94 kB / 1.533 GB, free: 10.88 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/0.5856, allocations: 76.89 kB / 1.533 GB, free: 10.8 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-05/0.5857, allocations: 31.98 kB / 1.533 GB, free: 10.77 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006899/0.5864, allocations: 495 kB / 1.534 GB, free: 10.29 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.5864, allocations: 0 / 1.534 GB, free: 10.29 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009242/0.5873, allocations: 335.1 kB / 1.534 GB, free: 9.961 MB / 1.232 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 (93): * Single equations (assignments): 87 * 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.005137/0.5924, allocations: 2.387 MB / 1.536 GB, free: 7.723 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001789/0.5942, allocations: 0.7766 MB / 1.537 GB, free: 6.934 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.5942, allocations: 0 / 1.537 GB, free: 6.934 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.5953, allocations: 0.4964 MB / 1.537 GB, free: 6.43 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/0.5967, allocations: 309.2 kB / 1.538 GB, free: 6.148 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/0.6089, allocations: 6.451 MB / 1.544 GB, free: 15.54 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008246/0.6097, allocations: 1.043 MB / 1.545 GB, free: 14.47 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0009766/0.6107, allocations: 262.9 kB / 1.545 GB, free: 14.21 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000707/0.6114, allocations: 403.3 kB / 1.546 GB, free: 13.81 MB / 1.248 GB Notification: Performance of SimCode: time 1.533e-06/0.6114, allocations: 0 / 1.546 GB, free: 13.81 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06426/0.6756, allocations: 22.31 MB / 1.568 GB, free: 7.73 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.32, allocations: 11.98 kB / 1.568 GB, free: 7.719 MB / 1.264 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_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_SimpleHouse1.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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: 21.10489503410645]