Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.SimpleHouse2,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",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.00506/0.005059, allocations: 101.5 kB / 15.73 MB, free: 6.449 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.001541/0.001541, allocations: 194.2 kB / 16.68 MB, free: 6.352 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.86/2.86, allocations: 469.8 MB / 0.7425 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 68.12 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2729, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007458/0.2804, allocations: 5.227 MB / 1.225 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6681/0.9485, allocations: 150.7 MB / 1.372 GB, free: 10.74 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007077/0.9492, allocations: 20.41 kB / 1.372 GB, free: 10.73 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006641/0.9499, allocations: 201.7 kB / 1.373 GB, free: 10.61 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001773/0.9517, allocations: 0.5603 MB / 1.373 GB, free: 10.28 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001887/0.9536, allocations: 0.8529 MB / 1.374 GB, free: 9.836 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001502/0.9551, allocations: 1.45 MB / 1.375 GB, free: 9.09 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008635/0.956, allocations: 0.6095 MB / 1.376 GB, free: 8.762 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000549/0.9565, allocations: 0.4957 MB / 1.376 GB, free: 8.516 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000609/0.9572, allocations: 0.5231 MB / 1.377 GB, free: 8.242 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001663/0.9573, allocations: 124.8 kB / 1.377 GB, free: 8.238 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008203/0.9582, allocations: 493.5 kB / 1.378 GB, free: 8.117 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002832/0.9585, allocations: 304.1 kB / 1.378 GB, free: 7.926 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005564/0.959, allocations: 0.5844 MB / 1.378 GB, free: 7.539 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001792/0.9608, allocations: 1.707 MB / 1.38 GB, free: 6.586 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.9608, allocations: 0.8438 kB / 1.38 GB, free: 6.586 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.193e-06/0.9609, allocations: 0 / 1.38 GB, free: 6.586 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.329e-05/0.9609, allocations: 1.094 kB / 1.38 GB, free: 6.586 MB / 1.076 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.002648/0.9635, allocations: 1.526 MB / 1.382 GB, free: 5.387 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.9636, allocations: 10 kB / 1.382 GB, free: 5.387 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001737/0.9637, allocations: 141.7 kB / 1.382 GB, free: 5.27 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009582/0.9647, allocations: 196.2 kB / 1.382 GB, free: 5.176 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.9659, allocations: 0.7953 MB / 1.383 GB, free: 4.523 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.857e-05/0.966, allocations: 65.94 kB / 1.383 GB, free: 4.492 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.9661, allocations: 92.78 kB / 1.383 GB, free: 4.461 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.9678, allocations: 0.9606 MB / 1.384 GB, free: 3.844 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.9679, allocations: 1.156 kB / 1.384 GB, free: 3.844 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-05/0.968, allocations: 37.31 kB / 1.384 GB, free: 3.816 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.968, allocations: 21.56 kB / 1.384 GB, free: 3.816 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/0.9699, allocations: 1.141 MB / 1.385 GB, free: 3.266 MB / 1.076 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.004215/0.9742, allocations: 2.781 MB / 1.388 GB, free: 1.051 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/0.9758, allocations: 0.8534 MB / 1.389 GB, free: 0.6133 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005997/0.9764, allocations: 319.8 kB / 1.389 GB, free: 464 kB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.83e-05/0.9765, allocations: 35 kB / 1.389 GB, free: 444 kB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009152/0.9775, allocations: 0.507 MB / 1.389 GB, free: 112 kB / 1.076 GB Notification: Performance of pre-optimization done (n=85): time 2.063e-06/0.9775, allocations: 4 kB / 1.389 GB, free: 108 kB / 1.076 GB Notification: Performance of matching and sorting (n=85): time 0.003398/0.9809, allocations: 1.248 MB / 1.391 GB, free: 15.43 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.981, allocations: 189.6 kB / 1.391 GB, free: 15.21 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008313/0.9818, allocations: 0.6489 MB / 1.391 GB, free: 14.83 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 7.21e-05/0.9819, allocations: 42.92 kB / 1.391 GB, free: 14.79 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003518/0.9823, allocations: 420.2 kB / 1.392 GB, free: 14.42 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002486/0.9825, allocations: 295.4 kB / 1.392 GB, free: 14.17 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002485/0.9828, allocations: 154.3 kB / 1.392 GB, free: 14.07 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002126/0.983, allocations: 390 kB / 1.393 GB, free: 13.7 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005456/0.9836, allocations: 257.9 kB / 1.393 GB, free: 13.58 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006723/0.9843, allocations: 374.3 kB / 1.393 GB, free: 13.34 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.9854, allocations: 0.6057 MB / 1.394 GB, free: 13.02 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.9855, allocations: 1 kB / 1.394 GB, free: 13.02 MB / 1.092 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002006/0.9875, allocations: 0.8396 MB / 1.395 GB, free: 12.58 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.9875, allocations: 7.656 kB / 1.395 GB, free: 12.58 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.9875, allocations: 1.594 kB / 1.395 GB, free: 12.58 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006014/0.9881, allocations: 84.2 kB / 1.395 GB, free: 12.54 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006655/0.9888, allocations: 162.3 kB / 1.395 GB, free: 12.5 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002196/0.991, allocations: 1.626 MB / 1.396 GB, free: 10.9 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006538/0.9917, allocations: 100.7 kB / 1.397 GB, free: 10.84 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.91e-05/0.9918, allocations: 36.5 kB / 1.397 GB, free: 10.82 MB / 1.092 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.0003804/0.9921, allocations: 272.5 kB / 1.397 GB, free: 10.61 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.9923, allocations: 89.72 kB / 1.397 GB, free: 10.56 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002518/0.9948, allocations: 1.096 MB / 1.398 GB, free: 9.953 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.9949, allocations: 9.781 kB / 1.398 GB, free: 9.953 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.9949, allocations: 4 kB / 1.398 GB, free: 9.949 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/0.9949, allocations: 3.984 kB / 1.398 GB, free: 9.945 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.996, allocations: 0.9325 MB / 1.399 GB, free: 9.242 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.996, allocations: 3.984 kB / 1.399 GB, free: 9.238 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006532/0.9967, allocations: 157.3 kB / 1.399 GB, free: 9.203 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000465/0.9972, allocations: 77.78 kB / 1.399 GB, free: 9.16 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-05/0.9972, allocations: 24.61 kB / 1.399 GB, free: 9.145 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002082/0.9993, allocations: 1.662 MB / 1.401 GB, free: 7.52 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.9993, allocations: 0 / 1.401 GB, free: 7.52 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002806/1.002, allocations: 1.372 MB / 1.402 GB, free: 6.789 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003646/1.003, allocations: 287.1 kB / 1.402 GB, free: 6.539 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/1.003, allocations: 20.78 kB / 1.402 GB, free: 6.523 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006437/1.003, allocations: 63.44 kB / 1.403 GB, free: 6.492 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/1.003, allocations: 75.14 kB / 1.403 GB, free: 6.453 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-05/1.004, allocations: 39.44 kB / 1.403 GB, free: 6.438 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005643/1.004, allocations: 468.6 kB / 1.403 GB, free: 6.172 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.91e-07/1.004, allocations: 0 / 1.403 GB, free: 6.172 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007538/1.005, allocations: 345.2 kB / 1.403 GB, free: 6.066 MB / 1.092 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.004827/1.01, allocations: 2.43 MB / 1.406 GB, free: 4.605 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001639/1.011, allocations: 0.8236 MB / 1.407 GB, free: 4.172 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.011, allocations: 3.938 kB / 1.407 GB, free: 4.168 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0009537/1.012, allocations: 0.5279 MB / 1.407 GB, free: 3.871 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/1.014, allocations: 300.3 kB / 1.407 GB, free: 3.723 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/1.024, allocations: 6.546 MB / 1.414 GB, free: 14.43 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007144/1.025, allocations: 1.041 MB / 1.415 GB, free: 13.37 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0007762/1.026, allocations: 274.9 kB / 1.415 GB, free: 13.09 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006111/1.026, allocations: 403.3 kB / 1.415 GB, free: 12.7 MB / 1.107 GB Notification: Performance of SimCode: time 3.1e-07/1.027, allocations: 4 kB / 1.415 GB, free: 12.7 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05761/1.084, allocations: 22.26 MB / 1.437 GB, free: 6.723 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.93, allocations: 14.53 kB / 1.437 GB, free: 6.711 MB / 1.123 GB (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.csv --start-time 0 --stop-time 1e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches