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.00133/0.00133, allocations: 108 kB / 15.61 MB, free: 152 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.001318/0.001318, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.2 MB, free: 4.387 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.847/2.847, allocations: 469.8 MB / 0.7424 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 62.3 kB / 0.9087 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2573, allocations: 159.2 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006841/0.2642, allocations: 4.927 MB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1677/0.4319, allocations: 150.6 MB / 1.216 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006385/0.4326, allocations: 15.88 kB / 1.216 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005303/0.4331, allocations: 190.3 kB / 1.216 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001451/0.4346, allocations: 0.5513 MB / 1.217 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001731/0.4363, allocations: 0.8216 MB / 1.217 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001306/0.4376, allocations: 1.373 MB / 1.219 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000819/0.4385, allocations: 0.5715 MB / 1.219 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005247/0.439, allocations: 486.3 kB / 1.22 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005812/0.4396, allocations: 0.4901 MB / 1.22 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001622/0.4398, allocations: 112 kB / 1.22 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007126/0.4405, allocations: 459.6 kB / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000291/0.4408, allocations: 291.1 kB / 1.221 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000526/0.4413, allocations: 0.5558 MB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001599/0.4429, allocations: 1.573 MB / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.4429, allocations: 0 / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4429, allocations: 0 / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.438e-05/0.443, allocations: 0 / 1.223 GB, free: 10.57 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.002457/0.4454, allocations: 1.434 MB / 1.225 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.4455, allocations: 8.031 kB / 1.225 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000158/0.4456, allocations: 131.3 kB / 1.225 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000915/0.4466, allocations: 195.3 kB / 1.225 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.4476, allocations: 0.7428 MB / 1.226 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.079e-05/0.4477, allocations: 62 kB / 1.226 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.4478, allocations: 80 kB / 1.226 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/0.4494, allocations: 0.9114 MB / 1.227 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.4494, allocations: 7.938 kB / 1.227 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.332e-05/0.4495, allocations: 32 kB / 1.227 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/0.4495, allocations: 20 kB / 1.227 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/0.4514, allocations: 1.097 MB / 1.228 GB, free: 5.707 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.004033/0.4554, allocations: 2.768 MB / 1.231 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.457, allocations: 0.7895 MB / 1.231 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00056/0.4575, allocations: 298.7 kB / 1.232 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.974e-05/0.4576, allocations: 20.62 kB / 1.232 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009038/0.4585, allocations: 495 kB / 1.232 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=78): time 1.973e-06/0.4586, allocations: 0 / 1.232 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of matching and sorting (n=78): time 0.003265/0.4618, allocations: 1.174 MB / 1.233 GB, free: 4 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/0.462, allocations: 196.6 kB / 1.233 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007996/0.4628, allocations: 0.6332 MB / 1.234 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.306e-05/0.4628, allocations: 45.64 kB / 1.234 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003234/0.4632, allocations: 396.3 kB / 1.234 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002181/0.4634, allocations: 260.3 kB / 1.235 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002299/0.4636, allocations: 142.5 kB / 1.235 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001984/0.4638, allocations: 394.7 kB / 1.235 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005126/0.4644, allocations: 237.9 kB / 1.235 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006617/0.465, allocations: 359.4 kB / 1.236 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.4662, allocations: 0.5807 MB / 1.236 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.4662, allocations: 0 / 1.236 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001924/0.4681, allocations: 0.7902 MB / 1.237 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.4681, allocations: 8 kB / 1.237 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.4682, allocations: 0 / 1.237 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000623/0.4688, allocations: 88.83 kB / 1.237 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006199/0.4694, allocations: 151.7 kB / 1.237 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00219/0.4716, allocations: 1.623 MB / 1.239 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000613/0.4722, allocations: 91.42 kB / 1.239 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.373e-05/0.4723, allocations: 35.97 kB / 1.239 GB, free: 9.75 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.0003596/0.4727, allocations: 261.6 kB / 1.239 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/0.4729, allocations: 82.97 kB / 1.239 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002485/0.4754, allocations: 1.046 MB / 1.24 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.4754, allocations: 12 kB / 1.24 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4754, allocations: 3.938 kB / 1.24 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.4754, allocations: 7.984 kB / 1.24 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.4765, allocations: 0.8917 MB / 1.241 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.4765, allocations: 0 / 1.241 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005899/0.4771, allocations: 139.8 kB / 1.241 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004582/0.4775, allocations: 68.8 kB / 1.242 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.526e-05/0.4776, allocations: 27.97 kB / 1.242 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00204/0.4796, allocations: 1.67 MB / 1.243 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4797, allocations: 0 / 1.243 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002023/0.4817, allocations: 0.9161 MB / 1.244 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003507/0.4821, allocations: 267.8 kB / 1.244 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.4822, allocations: 20 kB / 1.244 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006199/0.4828, allocations: 59.94 kB / 1.244 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.483, allocations: 76.83 kB / 1.244 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.648e-05/0.483, allocations: 31.98 kB / 1.245 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005781/0.4836, allocations: 463 kB / 1.245 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4836, allocations: 3.938 kB / 1.245 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007375/0.4844, allocations: 319.2 kB / 1.245 GB, free: 3.152 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.004088/0.4885, allocations: 1.955 MB / 1.247 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002275/0.4908, allocations: 0.9798 MB / 1.248 GB, free: 368 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4908, allocations: 4 kB / 1.248 GB, free: 364 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.3832/0.874, allocations: 0.5038 MB / 1.249 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.8754, allocations: 293.2 kB / 1.249 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009437/0.8849, allocations: 6.383 MB / 1.255 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.8853, allocations: 1.022 MB / 1.256 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007882/0.8861, allocations: 263 kB / 1.256 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004376/0.8865, allocations: 386.6 kB / 1.257 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/0.8865, allocations: 0 / 1.257 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05289/0.9394, allocations: 21.24 MB / 1.277 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.69, allocations: 11.72 kB / 1.278 GB, free: 178.1 MB / 0.9981 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 400 --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