Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.SimpleHouse0,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_11_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.007813/0.007813, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.002157/0.002157, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.527/1.527, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.744/2.744, allocations: 469.8 MB / 0.7425 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 63.89 kB / 1.065 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7401/0.7419, allocations: 159.1 MB / 1.22 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.007009/0.749, allocations: 4.932 MB / 1.225 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.192/0.9411, allocations: 150.6 MB / 1.372 GB, free: 5.957 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007477/0.9419, allocations: 15.94 kB / 1.372 GB, free: 5.941 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005968/0.9425, allocations: 190.2 kB / 1.372 GB, free: 5.754 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001681/0.9442, allocations: 0.5524 MB / 1.373 GB, free: 5.203 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001999/0.9462, allocations: 0.8292 MB / 1.374 GB, free: 4.379 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001669/0.9479, allocations: 1.377 MB / 1.375 GB, free: 2.996 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009097/0.9488, allocations: 0.5818 MB / 1.375 GB, free: 2.391 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007047/0.9495, allocations: 474.4 kB / 1.376 GB, free: 1.926 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000639/0.9502, allocations: 0.4978 MB / 1.376 GB, free: 1.426 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000163/0.9504, allocations: 116 kB / 1.377 GB, free: 1.312 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009659/0.9513, allocations: 471.6 kB / 1.377 GB, free: 0.8516 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003184/0.9517, allocations: 299 kB / 1.377 GB, free: 0.5586 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.000541/0.9522, allocations: 0.548 MB / 1.378 GB, free: 8 kB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002031/0.9543, allocations: 1.635 MB / 1.379 GB, free: 14.37 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.9543, allocations: 0 / 1.379 GB, free: 14.37 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9543, allocations: 3.938 kB / 1.379 GB, free: 14.36 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.9543, allocations: 0 / 1.379 GB, free: 14.36 MB / 1.107 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.002597/0.9569, allocations: 1.456 MB / 1.381 GB, free: 12.85 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.957, allocations: 12.02 kB / 1.381 GB, free: 12.84 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001717/0.9571, allocations: 135.3 kB / 1.381 GB, free: 12.7 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.9583, allocations: 196 kB / 1.381 GB, free: 12.51 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/0.9599, allocations: 0.7668 MB / 1.382 GB, free: 11.7 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.015e-05/0.96, allocations: 66 kB / 1.382 GB, free: 11.63 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.9601, allocations: 79.98 kB / 1.382 GB, free: 11.55 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001867/0.962, allocations: 0.9075 MB / 1.383 GB, free: 10.61 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.962, allocations: 0 / 1.383 GB, free: 10.61 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-05/0.9621, allocations: 40 kB / 1.383 GB, free: 10.57 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/0.9621, allocations: 20 kB / 1.383 GB, free: 10.55 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.9643, allocations: 1.104 MB / 1.384 GB, free: 9.438 MB / 1.107 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.004626/0.969, allocations: 2.753 MB / 1.387 GB, free: 6.566 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/0.9706, allocations: 0.7846 MB / 1.387 GB, free: 5.781 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005747/0.9712, allocations: 294.7 kB / 1.388 GB, free: 5.492 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.538e-05/0.9713, allocations: 32.59 kB / 1.388 GB, free: 5.457 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009382/0.9722, allocations: 487.2 kB / 1.388 GB, free: 4.965 MB / 1.107 GB Notification: Performance of pre-optimization done (n=78): time 2.655e-06/0.9722, allocations: 0 / 1.388 GB, free: 4.965 MB / 1.107 GB Notification: Performance of matching and sorting (n=78): time 0.00345/0.9757, allocations: 1.18 MB / 1.389 GB, free: 3.758 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.9758, allocations: 192.6 kB / 1.39 GB, free: 3.527 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009177/0.9768, allocations: 0.6294 MB / 1.39 GB, free: 2.891 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.848e-05/0.9768, allocations: 41.7 kB / 1.39 GB, free: 2.844 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000379/0.9772, allocations: 408.9 kB / 1.391 GB, free: 2.438 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002556/0.9775, allocations: 265.8 kB / 1.391 GB, free: 2.176 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002567/0.9778, allocations: 146.6 kB / 1.391 GB, free: 2.027 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002213/0.978, allocations: 390.7 kB / 1.391 GB, free: 1.637 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005296/0.9785, allocations: 245.9 kB / 1.392 GB, free: 1.395 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006552/0.9792, allocations: 363.4 kB / 1.392 GB, free: 1.012 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.9804, allocations: 0.5807 MB / 1.393 GB, free: 424 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.9804, allocations: 0 / 1.393 GB, free: 424 kB / 1.107 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002066/0.9824, allocations: 0.7947 MB / 1.393 GB, free: 15.61 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.9825, allocations: 11.92 kB / 1.393 GB, free: 15.6 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.9825, allocations: 0 / 1.393 GB, free: 15.6 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006298/0.9831, allocations: 84.66 kB / 1.393 GB, free: 15.52 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006259/0.9838, allocations: 147.8 kB / 1.394 GB, free: 15.37 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002348/0.9861, allocations: 1.636 MB / 1.395 GB, free: 13.59 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006917/0.9868, allocations: 87.47 kB / 1.395 GB, free: 13.5 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.325e-05/0.9869, allocations: 27.98 kB / 1.395 GB, free: 13.47 MB / 1.123 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.0004758/0.9874, allocations: 269.6 kB / 1.396 GB, free: 13.2 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.9876, allocations: 87.48 kB / 1.396 GB, free: 13.11 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002517/0.9901, allocations: 1.046 MB / 1.397 GB, free: 12.05 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/0.9901, allocations: 15.92 kB / 1.397 GB, free: 12.04 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.9901, allocations: 0 / 1.397 GB, free: 12.04 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.9902, allocations: 7.969 kB / 1.397 GB, free: 12.03 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.9913, allocations: 0.8881 MB / 1.398 GB, free: 11.09 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.9913, allocations: 0 / 1.398 GB, free: 11.09 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005759/0.9919, allocations: 143.8 kB / 1.398 GB, free: 10.95 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004563/0.9924, allocations: 68.78 kB / 1.398 GB, free: 10.88 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.86e-05/0.9925, allocations: 27.98 kB / 1.398 GB, free: 10.85 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002133/0.9946, allocations: 1.662 MB / 1.399 GB, free: 9.047 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.9946, allocations: 0 / 1.399 GB, free: 9.047 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002038/0.9967, allocations: 0.9128 MB / 1.4 GB, free: 8.109 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003991/0.9971, allocations: 276.2 kB / 1.401 GB, free: 7.82 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.9972, allocations: 24 kB / 1.401 GB, free: 7.797 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006148/0.9978, allocations: 59.92 kB / 1.401 GB, free: 7.738 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.998, allocations: 76.84 kB / 1.401 GB, free: 7.664 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.79e-05/0.9981, allocations: 39.97 kB / 1.401 GB, free: 7.625 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.000636/0.9987, allocations: 459 kB / 1.401 GB, free: 7.18 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9987, allocations: 4 kB / 1.401 GB, free: 7.176 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008353/0.9996, allocations: 319.1 kB / 1.401 GB, free: 6.863 MB / 1.123 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.004196/1.004, allocations: 1.972 MB / 1.403 GB, free: 5.047 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001767/1.006, allocations: 0.7844 MB / 1.404 GB, free: 4.25 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.006, allocations: 7.938 kB / 1.404 GB, free: 4.242 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/1.007, allocations: 0.5043 MB / 1.405 GB, free: 3.727 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/1.008, allocations: 308 kB / 1.405 GB, free: 3.453 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/1.019, allocations: 6.167 MB / 1.411 GB, free: 13.16 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007241/1.019, allocations: 1.019 MB / 1.412 GB, free: 12.12 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0008563/1.02, allocations: 266.6 kB / 1.412 GB, free: 11.85 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006132/1.021, allocations: 391.3 kB / 1.413 GB, free: 11.47 MB / 1.139 GB Notification: Performance of SimCode: time 5.11e-07/1.021, allocations: 0 / 1.413 GB, free: 11.47 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.063/1.084, allocations: 21.44 MB / 1.434 GB, free: 6.312 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/14.48, allocations: 22.33 kB / 1.434 GB, free: 6.297 MB / 1.154 GB (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.fmu > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches