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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 195.2 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 222.9 MB / 240.2 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.648/2.648, allocations: 469.4 MB / 0.742 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 62.73 kB / 0.9082 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2685, allocations: 159.1 MB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006818/0.2753, allocations: 4.929 MB / 1.068 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1492/0.4246, allocations: 150.6 MB / 1.216 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007137/0.4253, allocations: 19.88 kB / 1.216 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006608/0.426, allocations: 190.2 kB / 1.216 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002061/0.4281, allocations: 0.5376 MB / 1.216 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002112/0.4302, allocations: 0.8282 MB / 1.217 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001478/0.4317, allocations: 1.358 MB / 1.218 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.4329, allocations: 0.5848 MB / 1.219 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008436/0.4338, allocations: 482.4 kB / 1.219 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007013/0.4345, allocations: 0.49 MB / 1.22 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002292/0.4347, allocations: 115.9 kB / 1.22 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009803/0.4357, allocations: 455.7 kB / 1.22 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003007/0.436, allocations: 295 kB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006695/0.4367, allocations: 0.5519 MB / 1.221 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002011/0.4387, allocations: 1.577 MB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.4388, allocations: 0 / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4388, allocations: 0 / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.61e-05/0.4388, allocations: 8 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002768/0.4416, allocations: 1.426 MB / 1.224 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.4416, allocations: 12.03 kB / 1.224 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001791/0.4418, allocations: 131.3 kB / 1.224 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009656/0.4428, allocations: 191.3 kB / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.4439, allocations: 0.7467 MB / 1.225 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.254e-05/0.444, allocations: 58 kB / 1.225 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.4441, allocations: 84 kB / 1.225 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.4456, allocations: 0.9075 MB / 1.226 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.4456, allocations: 0 / 1.226 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.329e-05/0.4457, allocations: 35.98 kB / 1.226 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.4457, allocations: 20 kB / 1.226 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.4475, allocations: 1.104 MB / 1.227 GB, free: 6.109 MB / 0.9825 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.003945/0.4514, allocations: 2.775 MB / 1.23 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/0.4529, allocations: 0.7778 MB / 1.231 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005263/0.4535, allocations: 294.7 kB / 1.231 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.12e-05/0.4536, allocations: 36.53 kB / 1.231 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008747/0.4544, allocations: 487.1 kB / 1.232 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=78): time 2.254e-06/0.4545, allocations: 4 kB / 1.232 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of matching and sorting (n=78): time 0.003103/0.4576, allocations: 1.178 MB / 1.233 GB, free: 408 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.53e-05/0.4577, allocations: 192.6 kB / 1.233 GB, free: 172 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007846/0.4585, allocations: 0.6293 MB / 1.234 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.207e-05/0.4585, allocations: 45.7 kB / 1.234 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002921/0.4588, allocations: 396.3 kB / 1.234 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/0.459, allocations: 252.4 kB / 1.234 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002174/0.4593, allocations: 146.5 kB / 1.234 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.4594, allocations: 390.7 kB / 1.235 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004929/0.4599, allocations: 241.9 kB / 1.235 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000596/0.4605, allocations: 359.3 kB / 1.235 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.4616, allocations: 0.5807 MB / 1.236 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4616, allocations: 0 / 1.236 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001841/0.4634, allocations: 0.7902 MB / 1.237 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.4635, allocations: 8.125 kB / 1.237 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.4635, allocations: 4 kB / 1.237 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005908/0.4641, allocations: 84.7 kB / 1.237 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005906/0.4647, allocations: 147.8 kB / 1.237 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002036/0.4667, allocations: 1.627 MB / 1.239 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006373/0.4674, allocations: 87.31 kB / 1.239 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.007e-05/0.4675, allocations: 27.98 kB / 1.239 GB, free: 10.16 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (85): * Single equations (assignments): 84 * 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.0003727/0.4678, allocations: 269.6 kB / 1.239 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.468, allocations: 86.95 kB / 1.239 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002336/0.4704, allocations: 1.05 MB / 1.24 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.4704, allocations: 8 kB / 1.24 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.4704, allocations: 7.875 kB / 1.24 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.4704, allocations: 3.984 kB / 1.24 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.4715, allocations: 0.8918 MB / 1.241 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.4715, allocations: 0 / 1.241 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005551/0.4721, allocations: 139.8 kB / 1.241 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004511/0.4725, allocations: 80.72 kB / 1.241 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.468e-05/0.4726, allocations: 23.98 kB / 1.241 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001897/0.4745, allocations: 1.666 MB / 1.243 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.4745, allocations: 4 kB / 1.243 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00186/0.4764, allocations: 0.9122 MB / 1.244 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003537/0.4767, allocations: 267.8 kB / 1.244 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/0.4769, allocations: 16 kB / 1.244 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006229/0.4775, allocations: 68.98 kB / 1.244 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.4777, allocations: 68.84 kB / 1.244 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.098e-05/0.4778, allocations: 31.98 kB / 1.244 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005658/0.4783, allocations: 467 kB / 1.245 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4783, allocations: 0 / 1.245 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008358/0.4792, allocations: 315.2 kB / 1.245 GB, free: 3.559 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.003439/0.4826, allocations: 1.964 MB / 1.247 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002206/0.4849, allocations: 0.9795 MB / 1.248 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4849, allocations: 0 / 1.248 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009005/0.4858, allocations: 0.5122 MB / 1.248 GB, free: 240 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4138/0.8996, allocations: 295.6 kB / 1.248 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009548/0.9092, allocations: 6.375 MB / 1.255 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.9096, allocations: 1.017 MB / 1.256 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007529/0.9103, allocations: 260.9 kB / 1.256 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004151/0.9108, allocations: 391.8 kB / 1.256 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of SimCode: time 6.42e-07/0.9108, allocations: 0 / 1.256 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04642/0.9572, allocations: 21.24 MB / 1.277 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/12.36, allocations: 10.06 kB / 1.277 GB, free: 178.6 MB / 0.9981 GB (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 50 --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) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches