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.001277/0.001277, allocations: 113 kB / 18.94 MB, free: 2.934 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.001502/0.001502, allocations: 210.6 kB / 22.25 MB, free: 5.086 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.375/1.375, allocations: 230.6 MB / 256 MB, free: 8.035 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.097/3.097, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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.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.002038/0.002038, allocations: 65.47 kB / 1.177 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3305, allocations: 180.2 MB / 1.353 GB, free: 8.43 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007381/0.3379, allocations: 5.343 MB / 1.358 GB, free: 3.062 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1708/0.5088, allocations: 154.2 MB / 1.509 GB, free: 8.281 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008393/0.5096, allocations: 27.81 kB / 1.509 GB, free: 8.254 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0007245/0.5103, allocations: 202.1 kB / 1.509 GB, free: 8.055 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001972/0.5123, allocations: 0.5889 MB / 1.509 GB, free: 7.465 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002186/0.5145, allocations: 0.8801 MB / 1.51 GB, free: 6.59 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002052/0.5165, allocations: 1.486 MB / 1.512 GB, free: 5.098 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009476/0.5175, allocations: 432 kB / 1.512 GB, free: 4.648 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009152/0.5184, allocations: 0.5372 MB / 1.513 GB, free: 4.109 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008585/0.5192, allocations: 0.5329 MB / 1.513 GB, free: 3.574 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002375/0.5195, allocations: 124 kB / 1.513 GB, free: 3.453 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001105/0.5206, allocations: 0.5152 MB / 1.514 GB, free: 2.938 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000333/0.5209, allocations: 311 kB / 1.514 GB, free: 2.633 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006351/0.5216, allocations: 0.5985 MB / 1.515 GB, free: 2.031 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002642/0.5242, allocations: 1.747 MB / 1.516 GB, free: 284 kB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.5242, allocations: 0 / 1.516 GB, free: 284 kB / 1.201 GB Notification: Performance of FrontEnd: time 2.214e-06/0.5242, allocations: 0 / 1.516 GB, free: 284 kB / 1.201 GB Notification: Performance of Transformations before backend: time 3.201e-05/0.5242, allocations: 0 / 1.516 GB, free: 284 kB / 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.003102/0.5273, allocations: 1.486 MB / 1.518 GB, free: 14.75 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.5274, allocations: 11.97 kB / 1.518 GB, free: 14.74 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001854/0.5276, allocations: 139.7 kB / 1.518 GB, free: 14.6 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/0.5291, allocations: 240 kB / 1.518 GB, free: 14.36 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/0.5306, allocations: 0.7374 MB / 1.519 GB, free: 13.6 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.793e-05/0.5306, allocations: 66 kB / 1.519 GB, free: 13.53 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.5308, allocations: 84 kB / 1.519 GB, free: 13.45 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/0.5325, allocations: 0.9535 MB / 1.52 GB, free: 12.46 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.5325, allocations: 0 / 1.52 GB, free: 12.46 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.17e-05/0.5326, allocations: 44 kB / 1.52 GB, free: 12.41 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.037e-05/0.5326, allocations: 20 kB / 1.52 GB, free: 12.39 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001869/0.5345, allocations: 1.139 MB / 1.521 GB, free: 11.25 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.004786/0.5393, allocations: 2.816 MB / 1.524 GB, free: 8.301 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.541, allocations: 0.7972 MB / 1.525 GB, free: 7.492 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005628/0.5415, allocations: 304.9 kB / 1.525 GB, free: 7.195 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 8.34e-05/0.5416, allocations: 26.77 kB / 1.525 GB, free: 7.172 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009221/0.5426, allocations: 0.5095 MB / 1.526 GB, free: 6.645 MB / 1.217 GB Notification: Performance of pre-optimization done (n=85): time 2.324e-06/0.5426, allocations: 3.938 kB / 1.526 GB, free: 6.641 MB / 1.217 GB Notification: Performance of matching and sorting (n=85): time 0.003366/0.5459, allocations: 1.176 MB / 1.527 GB, free: 5.461 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.546, allocations: 204.9 kB / 1.527 GB, free: 5.219 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009202/0.547, allocations: 0.6686 MB / 1.528 GB, free: 4.543 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001102/0.5471, allocations: 41.7 kB / 1.528 GB, free: 4.496 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003782/0.5474, allocations: 433 kB / 1.528 GB, free: 4.066 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002747/0.5477, allocations: 285.6 kB / 1.528 GB, free: 3.785 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002361/0.548, allocations: 150.6 kB / 1.528 GB, free: 3.629 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002121/0.5482, allocations: 390.7 kB / 1.529 GB, free: 3.238 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005292/0.5487, allocations: 261.9 kB / 1.529 GB, free: 2.984 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006255/0.5493, allocations: 362.6 kB / 1.529 GB, free: 2.605 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.5505, allocations: 0.6125 MB / 1.53 GB, free: 1.98 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.5505, allocations: 8.062 kB / 1.53 GB, free: 1.973 MB / 1.217 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002034/0.5525, allocations: 0.8413 MB / 1.531 GB, free: 1.121 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.5525, allocations: 9.719 kB / 1.531 GB, free: 1.113 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.5525, allocations: 0 / 1.531 GB, free: 1.113 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006121/0.5531, allocations: 80.88 kB / 1.531 GB, free: 1.031 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006908/0.5538, allocations: 167.7 kB / 1.531 GB, free: 0.8672 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002185/0.556, allocations: 1.531 MB / 1.533 GB, free: 15.21 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007674/0.5568, allocations: 95.52 kB / 1.533 GB, free: 15.12 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.553e-05/0.5569, allocations: 31.98 kB / 1.533 GB, free: 15.09 MB / 1.232 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.0005062/0.5574, allocations: 261.7 kB / 1.533 GB, free: 14.82 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002087/0.5576, allocations: 99.38 kB / 1.533 GB, free: 14.72 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002536/0.5601, allocations: 1.098 MB / 1.534 GB, free: 13.62 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.5601, allocations: 8 kB / 1.534 GB, free: 13.61 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.5601, allocations: 3.984 kB / 1.534 GB, free: 13.61 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.5601, allocations: 3.984 kB / 1.534 GB, free: 13.6 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/0.5614, allocations: 0.9144 MB / 1.535 GB, free: 12.64 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.5614, allocations: 7.938 kB / 1.535 GB, free: 12.63 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006754/0.5621, allocations: 167.8 kB / 1.535 GB, free: 12.47 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004552/0.5626, allocations: 68.73 kB / 1.535 GB, free: 12.4 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-05/0.5627, allocations: 27.97 kB / 1.535 GB, free: 12.37 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001979/0.5646, allocations: 1.547 MB / 1.537 GB, free: 10.7 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.5646, allocations: 3.984 kB / 1.537 GB, free: 10.7 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002874/0.5675, allocations: 1.375 MB / 1.538 GB, free: 9.305 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000552/0.5681, allocations: 215 kB / 1.538 GB, free: 9.094 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.5682, allocations: 20 kB / 1.538 GB, free: 9.074 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006502/0.5689, allocations: 63.92 kB / 1.538 GB, free: 9.012 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.569, allocations: 72.86 kB / 1.538 GB, free: 8.941 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.663e-05/0.5691, allocations: 39.97 kB / 1.539 GB, free: 8.902 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006864/0.5698, allocations: 495.1 kB / 1.539 GB, free: 8.422 MB / 1.232 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5698, allocations: 0 / 1.539 GB, free: 8.422 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009066/0.5707, allocations: 331.2 kB / 1.539 GB, free: 8.098 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 (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.005025/0.5757, allocations: 2.43 MB / 1.542 GB, free: 5.816 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001911/0.5776, allocations: 0.7921 MB / 1.542 GB, free: 5.008 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.5777, allocations: 0 / 1.542 GB, free: 5.008 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.5787, allocations: 0.5043 MB / 1.543 GB, free: 4.492 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/0.5801, allocations: 310 kB / 1.543 GB, free: 4.211 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01239/0.5925, allocations: 6.619 MB / 1.55 GB, free: 13.44 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006837/0.5932, allocations: 1.047 MB / 1.551 GB, free: 12.37 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008811/0.594, allocations: 271 kB / 1.551 GB, free: 12.1 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006107/0.5947, allocations: 419.2 kB / 1.551 GB, free: 11.69 MB / 1.248 GB Notification: Performance of SimCode: time 1.303e-06/0.5947, allocations: 0 / 1.551 GB, free: 11.69 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06546/0.6601, allocations: 23.25 MB / 1.574 GB, free: 4.633 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.99/15.65, allocations: 6.234 kB / 1.574 GB, free: 4.629 MB / 1.264 GB " [Timeout remaining time 284] (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: 22.370406640999136]