Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.SimpleHouse2,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_latest_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.001079/0.00108, 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.001154/0.001155, allocations: 195.3 kB / 16.54 MB, free: 6.672 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.29/1.29, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.687/2.687, allocations: 469.4 MB / 0.742 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 64.03 kB / 0.9082 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2599, allocations: 159.1 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006283/0.2662, allocations: 5.24 MB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.141/0.4073, allocations: 150.7 MB / 1.216 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007566/0.4081, allocations: 15.94 kB / 1.216 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005717/0.4087, allocations: 206.1 kB / 1.216 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001632/0.4103, allocations: 0.5601 MB / 1.217 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001845/0.4122, allocations: 0.8444 MB / 1.217 GB, free: 448 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001436/0.4136, allocations: 1.436 MB / 1.219 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008262/0.4145, allocations: 0.6151 MB / 1.219 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006089/0.4151, allocations: 0.4905 MB / 1.22 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006271/0.4157, allocations: 0.529 MB / 1.22 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001617/0.4159, allocations: 120 kB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008299/0.4167, allocations: 467.7 kB / 1.221 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002701/0.417, allocations: 310.9 kB / 1.221 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000487/0.4175, allocations: 0.5869 MB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001761/0.4193, allocations: 1.655 MB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4193, allocations: 0 / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4193, allocations: 0 / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.927e-05/0.4193, allocations: 0 / 1.224 GB, free: 10.2 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.00263/0.422, allocations: 1.493 MB / 1.225 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.422, allocations: 12.03 kB / 1.225 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001567/0.4222, allocations: 135.7 kB / 1.225 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009227/0.4231, allocations: 191.3 kB / 1.225 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.4241, allocations: 0.77 MB / 1.226 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.941e-05/0.4242, allocations: 66 kB / 1.226 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.4243, allocations: 84 kB / 1.226 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/0.4259, allocations: 0.9535 MB / 1.227 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.4259, allocations: 3.984 kB / 1.227 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.112e-05/0.426, allocations: 43.94 kB / 1.227 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/0.426, allocations: 20 kB / 1.227 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/0.4278, allocations: 1.128 MB / 1.228 GB, free: 5.176 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.003988/0.4318, allocations: 2.817 MB / 1.231 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.4334, allocations: 0.8418 MB / 1.232 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005383/0.4339, allocations: 326.7 kB / 1.232 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.924e-05/0.434, allocations: 30.75 kB / 1.232 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008979/0.4349, allocations: 0.5081 MB / 1.233 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=85): time 2.375e-06/0.435, allocations: 0 / 1.233 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85): time 0.003239/0.4382, allocations: 1.247 MB / 1.234 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.793e-05/0.4383, allocations: 192.9 kB / 1.234 GB, free: 15 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007651/0.4391, allocations: 0.6528 MB / 1.235 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.964e-05/0.4392, allocations: 41.7 kB / 1.235 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002943/0.4395, allocations: 416.3 kB / 1.235 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/0.4397, allocations: 275.9 kB / 1.235 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002273/0.4399, allocations: 154.6 kB / 1.236 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.4401, allocations: 390.7 kB / 1.236 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000506/0.4406, allocations: 257.9 kB / 1.236 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006263/0.4412, allocations: 374.5 kB / 1.237 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.4423, allocations: 0.6047 MB / 1.237 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.4424, allocations: 0 / 1.237 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001906/0.4443, allocations: 0.837 MB / 1.238 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.4443, allocations: 4.094 kB / 1.238 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.4443, allocations: 4 kB / 1.238 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006208/0.4449, allocations: 96.62 kB / 1.238 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006659/0.4456, allocations: 159.8 kB / 1.238 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/0.4477, allocations: 1.634 MB / 1.24 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006551/0.4484, allocations: 83.33 kB / 1.24 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.313e-05/0.4484, allocations: 35.98 kB / 1.24 GB, free: 8.797 MB / 0.9981 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.0003989/0.4488, allocations: 275.5 kB / 1.24 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.449, allocations: 94.86 kB / 1.24 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002473/0.4515, allocations: 1.101 MB / 1.241 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.4515, allocations: 8 kB / 1.241 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.4515, allocations: 0 / 1.241 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.4515, allocations: 3.984 kB / 1.241 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.4526, allocations: 0.923 MB / 1.242 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.4526, allocations: 3.938 kB / 1.242 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006627/0.4533, allocations: 159.8 kB / 1.242 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004471/0.4537, allocations: 68.8 kB / 1.243 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.694e-05/0.4538, allocations: 31.97 kB / 1.243 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/0.4556, allocations: 1.658 MB / 1.244 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4556, allocations: 0 / 1.244 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002635/0.4583, allocations: 1.375 MB / 1.246 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003523/0.4586, allocations: 283.6 kB / 1.246 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.4588, allocations: 19.98 kB / 1.246 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006463/0.4594, allocations: 61.19 kB / 1.246 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.4596, allocations: 72.89 kB / 1.246 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.444e-05/0.4597, allocations: 36.11 kB / 1.246 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005526/0.4602, allocations: 483 kB / 1.246 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4602, allocations: 0 / 1.246 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007874/0.461, allocations: 331.1 kB / 1.247 GB, free: 1.594 MB / 0.9981 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.4188/0.8799, allocations: 2.418 MB / 1.249 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002651/0.8825, allocations: 1.032 MB / 1.25 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.8826, allocations: 1.094 kB / 1.25 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009604/0.8835, allocations: 0.5318 MB / 1.251 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.8849, allocations: 300.2 kB / 1.251 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009771/0.8947, allocations: 6.767 MB / 1.258 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/0.8951, allocations: 1.037 MB / 1.259 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008235/0.8959, allocations: 270.7 kB / 1.259 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000458/0.8964, allocations: 402 kB / 1.259 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of SimCode: time 9.92e-07/0.8964, allocations: 0 / 1.259 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05108/0.9475, allocations: 22.02 MB / 1.281 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.43, allocations: 5.047 kB / 1.281 GB, free: 176.7 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_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_SimpleHouse2.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches