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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005373/0.005378, allocations: 100.9 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 193.7 kB / 16.67 MB, free: 5.922 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.78/2.78, allocations: 482.4 MB / 0.7548 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 67.33 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2759, allocations: 162.2 MB / 1.241 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007251/0.2831, allocations: 5.126 MB / 1.246 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1703/0.4535, allocations: 150.7 MB / 1.394 GB, free: 12.92 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007268/0.4542, allocations: 19.88 kB / 1.394 GB, free: 12.9 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006483/0.4549, allocations: 194.2 kB / 1.394 GB, free: 12.71 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001817/0.4568, allocations: 0.5546 MB / 1.394 GB, free: 12.16 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.4588, allocations: 0.8368 MB / 1.395 GB, free: 11.32 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001722/0.4605, allocations: 1.428 MB / 1.397 GB, free: 9.891 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009551/0.4615, allocations: 0.5951 MB / 1.397 GB, free: 9.27 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000718/0.4622, allocations: 0.4905 MB / 1.398 GB, free: 8.777 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007036/0.4629, allocations: 0.5095 MB / 1.398 GB, free: 8.266 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002154/0.4631, allocations: 120 kB / 1.398 GB, free: 8.148 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009078/0.4641, allocations: 483.6 kB / 1.399 GB, free: 7.676 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003166/0.4644, allocations: 307 kB / 1.399 GB, free: 7.375 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0006369/0.465, allocations: 0.5753 MB / 1.4 GB, free: 6.797 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002061/0.4671, allocations: 1.673 MB / 1.401 GB, free: 5.117 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.4671, allocations: 0 / 1.401 GB, free: 5.117 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.193e-06/0.4671, allocations: 0 / 1.401 GB, free: 5.117 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.642e-05/0.4672, allocations: 0 / 1.401 GB, free: 5.117 MB / 1.123 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.002799/0.47, allocations: 1.503 MB / 1.403 GB, free: 3.566 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.47, allocations: 8.031 kB / 1.403 GB, free: 3.559 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001806/0.4702, allocations: 139.6 kB / 1.403 GB, free: 3.414 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009576/0.4712, allocations: 196 kB / 1.403 GB, free: 3.223 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.4724, allocations: 0.7823 MB / 1.404 GB, free: 2.398 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.862e-05/0.4725, allocations: 69.94 kB / 1.404 GB, free: 2.328 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.4726, allocations: 88 kB / 1.404 GB, free: 2.242 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/0.4743, allocations: 0.9378 MB / 1.405 GB, free: 1.266 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.4744, allocations: 4 kB / 1.405 GB, free: 1.262 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.89e-05/0.4744, allocations: 36 kB / 1.405 GB, free: 1.227 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.4745, allocations: 20 kB / 1.405 GB, free: 1.207 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.4764, allocations: 1.12 MB / 1.406 GB, free: 84 kB / 1.123 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.004177/0.4806, allocations: 2.82 MB / 1.409 GB, free: 13.12 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001622/0.4823, allocations: 0.8121 MB / 1.409 GB, free: 12.3 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005948/0.4829, allocations: 317.6 kB / 1.41 GB, free: 11.99 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.232e-05/0.483, allocations: 32.61 kB / 1.41 GB, free: 11.96 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009018/0.4839, allocations: 497 kB / 1.41 GB, free: 11.46 MB / 1.139 GB Notification: Performance of pre-optimization done (n=82): time 2.315e-06/0.4839, allocations: 4 kB / 1.41 GB, free: 11.45 MB / 1.139 GB Notification: Performance of matching and sorting (n=82): time 0.003402/0.4873, allocations: 1.21 MB / 1.411 GB, free: 10.22 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.4874, allocations: 192.6 kB / 1.412 GB, free: 9.988 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008447/0.4883, allocations: 0.6488 MB / 1.412 GB, free: 9.332 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.664e-05/0.4883, allocations: 41.7 kB / 1.412 GB, free: 9.285 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003481/0.4887, allocations: 413 kB / 1.413 GB, free: 8.875 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002435/0.489, allocations: 277.7 kB / 1.413 GB, free: 8.602 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00026/0.4892, allocations: 150.6 kB / 1.413 GB, free: 8.445 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002009/0.4894, allocations: 386.8 kB / 1.413 GB, free: 8.059 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005529/0.49, allocations: 253.9 kB / 1.414 GB, free: 7.812 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006734/0.4907, allocations: 366.5 kB / 1.414 GB, free: 7.43 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.4919, allocations: 0.5877 MB / 1.415 GB, free: 6.828 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.4919, allocations: 0 / 1.415 GB, free: 6.828 MB / 1.139 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002047/0.4939, allocations: 0.8179 MB / 1.415 GB, free: 6 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.494, allocations: 4 kB / 1.415 GB, free: 5.996 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.494, allocations: 3.984 kB / 1.415 GB, free: 5.992 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006345/0.4946, allocations: 84.81 kB / 1.416 GB, free: 5.906 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007031/0.4953, allocations: 163.8 kB / 1.416 GB, free: 5.746 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002313/0.4977, allocations: 1.629 MB / 1.417 GB, free: 3.973 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006503/0.4983, allocations: 91.52 kB / 1.417 GB, free: 3.883 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.806e-05/0.4984, allocations: 31.97 kB / 1.417 GB, free: 3.852 MB / 1.139 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.0003891/0.4988, allocations: 266.2 kB / 1.418 GB, free: 3.582 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.499, allocations: 87.44 kB / 1.418 GB, free: 3.496 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002578/0.5016, allocations: 1.074 MB / 1.419 GB, free: 2.41 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.5016, allocations: 12 kB / 1.419 GB, free: 2.398 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.5016, allocations: 0 / 1.419 GB, free: 2.398 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.5016, allocations: 11.91 kB / 1.419 GB, free: 2.387 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.5027, allocations: 0.9193 MB / 1.42 GB, free: 1.418 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.5028, allocations: 0 / 1.42 GB, free: 1.418 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006637/0.5034, allocations: 159.7 kB / 1.42 GB, free: 1.262 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004663/0.5039, allocations: 72.72 kB / 1.42 GB, free: 1.188 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.115e-05/0.504, allocations: 27.98 kB / 1.42 GB, free: 1.16 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002122/0.5061, allocations: 1.655 MB / 1.422 GB, free: 15.36 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5061, allocations: 0 / 1.422 GB, free: 15.36 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002854/0.509, allocations: 1.344 MB / 1.423 GB, free: 14 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003732/0.5094, allocations: 272.2 kB / 1.423 GB, free: 13.71 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.5095, allocations: 23.88 kB / 1.423 GB, free: 13.69 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006448/0.5102, allocations: 63.92 kB / 1.423 GB, free: 13.62 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/0.5103, allocations: 69.11 kB / 1.423 GB, free: 13.56 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.473e-05/0.5104, allocations: 43.97 kB / 1.423 GB, free: 13.52 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006119/0.511, allocations: 467 kB / 1.424 GB, free: 13.06 MB / 1.154 GB Notification: Performance of sort global known variables: time 4.7e-07/0.511, allocations: 0 / 1.424 GB, free: 13.06 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0007835/0.5118, allocations: 331.1 kB / 1.424 GB, free: 12.74 MB / 1.154 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.005035/0.5169, allocations: 2.384 MB / 1.426 GB, free: 10.51 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001707/0.5186, allocations: 0.8 MB / 1.427 GB, free: 9.691 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.5186, allocations: 4.188 kB / 1.427 GB, free: 9.688 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.5196, allocations: 0.5236 MB / 1.428 GB, free: 9.152 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.5209, allocations: 310.7 kB / 1.428 GB, free: 8.875 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.5319, allocations: 6.396 MB / 1.434 GB, free: 2.32 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000706/0.5326, allocations: 1.031 MB / 1.435 GB, free: 1.258 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0007817/0.5334, allocations: 266.7 kB / 1.436 GB, free: 0.9922 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000602/0.534, allocations: 395.3 kB / 1.436 GB, free: 0.6055 MB / 1.154 GB Notification: Performance of SimCode: time 2.8e-07/0.534, allocations: 0 / 1.436 GB, free: 0.6055 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05649/0.5905, allocations: 21.92 MB / 1.457 GB, free: 10.98 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.53, allocations: 15.92 kB / 1.457 GB, free: 10.96 MB / 1.186 GB (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 400 --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) 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) Reference file matches