Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.001273/0.001273, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001659/0.001659, allocations: 210.1 kB / 22.25 MB, free: 5.262 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.427/1.427, allocations: 230.6 MB / 256 MB, free: 7.781 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.268/3.268, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] 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.SimpleHouse2,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",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.002106/0.002106, allocations: 62.02 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.334, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007529/0.3416, allocations: 4.772 MB / 1.368 GB, free: 9.293 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1739/0.5154, allocations: 132.7 MB / 1.498 GB, free: 4.043 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009776/0.5164, allocations: 23.81 kB / 1.498 GB, free: 4.02 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008543/0.5173, allocations: 202.1 kB / 1.498 GB, free: 3.82 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002299/0.5196, allocations: 0.5957 MB / 1.498 GB, free: 3.227 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002452/0.522, allocations: 0.8736 MB / 1.499 GB, free: 2.359 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002218/0.5242, allocations: 1.475 MB / 1.501 GB, free: 0.8789 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000972/0.5252, allocations: 410.8 kB / 1.501 GB, free: 464 kB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009859/0.5262, allocations: 0.5256 MB / 1.502 GB, free: 15.93 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009037/0.5271, allocations: 493.6 kB / 1.502 GB, free: 15.44 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003209/0.5274, allocations: 120 kB / 1.502 GB, free: 15.32 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001263/0.5287, allocations: 0.4957 MB / 1.503 GB, free: 14.83 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004391/0.5291, allocations: 311 kB / 1.503 GB, free: 14.52 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007559/0.5299, allocations: 493.6 kB / 1.504 GB, free: 14.04 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002905/0.5328, allocations: 1.755 MB / 1.505 GB, free: 12.28 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.5328, allocations: 3.984 kB / 1.505 GB, free: 12.27 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5328, allocations: 0 / 1.505 GB, free: 12.27 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.596e-05/0.5328, allocations: 0 / 1.505 GB, free: 12.27 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.003411/0.5362, allocations: 1.479 MB / 1.507 GB, free: 10.76 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.5363, allocations: 12.03 kB / 1.507 GB, free: 10.75 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002185/0.5365, allocations: 143.7 kB / 1.507 GB, free: 10.6 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0015/0.538, allocations: 240 kB / 1.507 GB, free: 10.37 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/0.5396, allocations: 0.7336 MB / 1.508 GB, free: 9.602 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-05/0.5397, allocations: 69.98 kB / 1.508 GB, free: 9.531 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.5398, allocations: 84 kB / 1.508 GB, free: 9.449 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.5418, allocations: 1.201 MB / 1.509 GB, free: 8.148 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.836e-05/0.5419, allocations: 7.891 kB / 1.509 GB, free: 8.141 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.1e-05/0.5419, allocations: 39.98 kB / 1.509 GB, free: 8.102 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/0.542, allocations: 20 kB / 1.509 GB, free: 8.082 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002023/0.544, allocations: 1.093 MB / 1.51 GB, free: 6.988 MB / 1.201 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.004819/0.5488, allocations: 2.306 MB / 1.512 GB, free: 4.617 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001724/0.5505, allocations: 0.7955 MB / 1.513 GB, free: 3.816 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005919/0.5511, allocations: 298.6 kB / 1.514 GB, free: 3.52 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 7.807e-05/0.5512, allocations: 26.69 kB / 1.514 GB, free: 3.496 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001035/0.5522, allocations: 0.6046 MB / 1.514 GB, free: 2.855 MB / 1.201 GB Notification: Performance of pre-optimization done (n=85): time 3.086e-06/0.5522, allocations: 0 / 1.514 GB, free: 2.855 MB / 1.201 GB Notification: Performance of matching and sorting (n=85): time 0.003523/0.5558, allocations: 1.176 MB / 1.515 GB, free: 1.668 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/0.5559, allocations: 200.9 kB / 1.515 GB, free: 1.43 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.5571, allocations: 0.6763 MB / 1.516 GB, free: 0.7422 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 9.524e-05/0.5572, allocations: 41.7 kB / 1.516 GB, free: 0.6953 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000431/0.5576, allocations: 425.1 kB / 1.517 GB, free: 280 kB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003139/0.5579, allocations: 289.7 kB / 1.517 GB, free: 15.98 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002607/0.5582, allocations: 154.6 kB / 1.517 GB, free: 15.83 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002768/0.5584, allocations: 394.7 kB / 1.517 GB, free: 15.43 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006113/0.559, allocations: 249.9 kB / 1.518 GB, free: 15.19 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007556/0.5598, allocations: 0.4951 MB / 1.518 GB, free: 14.64 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.561, allocations: 0.6086 MB / 1.519 GB, free: 14.02 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.561, allocations: 0 / 1.519 GB, free: 14.02 MB / 1.217 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00213/0.5632, allocations: 0.8374 MB / 1.52 GB, free: 13.17 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.5632, allocations: 11.94 kB / 1.52 GB, free: 13.16 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.5632, allocations: 0 / 1.52 GB, free: 13.16 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006111/0.5638, allocations: 80.88 kB / 1.52 GB, free: 13.07 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006902/0.5645, allocations: 171.7 kB / 1.52 GB, free: 12.91 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/0.5668, allocations: 1.529 MB / 1.521 GB, free: 11.27 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007626/0.5676, allocations: 91.5 kB / 1.521 GB, free: 11.18 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.657e-05/0.5676, allocations: 39.91 kB / 1.521 GB, free: 11.14 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 (92): * Single equations (assignments): 91 * 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.0005117/0.5681, allocations: 261.7 kB / 1.522 GB, free: 10.87 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002365/0.5684, allocations: 91.44 kB / 1.522 GB, free: 10.78 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002631/0.571, allocations: 1.102 MB / 1.523 GB, free: 9.664 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.571, allocations: 8 kB / 1.523 GB, free: 9.656 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.571, allocations: 0 / 1.523 GB, free: 9.656 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.571, allocations: 7.984 kB / 1.523 GB, free: 9.648 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.5723, allocations: 0.7858 MB / 1.524 GB, free: 8.82 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.5724, allocations: 3.938 kB / 1.524 GB, free: 8.816 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006815/0.573, allocations: 159.7 kB / 1.524 GB, free: 8.66 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004652/0.5735, allocations: 76.78 kB / 1.524 GB, free: 8.582 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-05/0.5736, allocations: 23.98 kB / 1.524 GB, free: 8.559 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002241/0.5758, allocations: 1.551 MB / 1.525 GB, free: 6.887 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5758, allocations: 0 / 1.525 GB, free: 6.887 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003037/0.5789, allocations: 1.375 MB / 1.527 GB, free: 5.488 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005574/0.5794, allocations: 211 kB / 1.527 GB, free: 5.281 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/0.5796, allocations: 20 kB / 1.527 GB, free: 5.262 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006975/0.5803, allocations: 63.92 kB / 1.527 GB, free: 5.199 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.5805, allocations: 76.92 kB / 1.527 GB, free: 5.125 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.161e-05/0.5805, allocations: 31.98 kB / 1.527 GB, free: 5.094 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008016/0.5813, allocations: 499 kB / 1.528 GB, free: 4.609 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.5813, allocations: 0 / 1.528 GB, free: 4.609 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.00102/0.5824, allocations: 339.1 kB / 1.528 GB, free: 4.277 MB / 1.217 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.005402/0.5878, allocations: 2.459 MB / 1.53 GB, free: 1.996 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001859/0.5896, allocations: 0.8 MB / 1.531 GB, free: 1.184 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.5896, allocations: 0 / 1.531 GB, free: 1.184 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.5907, allocations: 0.4964 MB / 1.532 GB, free: 0.6758 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/0.5921, allocations: 312.2 kB / 1.532 GB, free: 404 kB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/0.6048, allocations: 6.616 MB / 1.538 GB, free: 9.621 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005583/0.6053, allocations: 457.6 kB / 1.539 GB, free: 9.141 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0009145/0.6063, allocations: 275 kB / 1.539 GB, free: 8.867 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006482/0.6069, allocations: 411.3 kB / 1.539 GB, free: 8.465 MB / 1.232 GB Notification: Performance of SimCode: time 1.002e-06/0.6069, allocations: 0 / 1.539 GB, free: 8.465 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07007/0.677, allocations: 24.24 MB / 1.563 GB, free: 0.5391 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.32/15, allocations: 8.047 kB / 1.563 GB, free: 0.5312 MB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_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_SimpleHouse2.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 21.92313099792227]