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 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.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.001596/0.001596, 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.001842/0.001842, allocations: 198 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.295/1.295, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.676/2.676, allocations: 469.4 MB / 0.742 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 68.86 kB / 0.9083 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2661, allocations: 159.1 MB / 1.064 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006573/0.2728, allocations: 5.116 MB / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1461/0.4189, allocations: 150.6 MB / 1.216 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008649/0.4198, allocations: 19.88 kB / 1.216 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007174/0.4206, allocations: 194.2 kB / 1.216 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001952/0.4226, allocations: 0.5657 MB / 1.217 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002044/0.4246, allocations: 0.8287 MB / 1.217 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001602/0.4262, allocations: 1.416 MB / 1.219 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009613/0.4272, allocations: 0.5891 MB / 1.219 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006867/0.4279, allocations: 0.4905 MB / 1.22 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006914/0.4286, allocations: 0.5167 MB / 1.22 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002526/0.4289, allocations: 116 kB / 1.22 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.4299, allocations: 459.7 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003217/0.4303, allocations: 303 kB / 1.221 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006644/0.4309, allocations: 0.5751 MB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002021/0.433, allocations: 1.632 MB / 1.223 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.433, allocations: 8 kB / 1.223 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.893e-06/0.433, allocations: 0 / 1.223 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.093e-05/0.433, allocations: 0 / 1.223 GB, free: 10.48 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003214/0.4363, allocations: 1.454 MB / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.4363, allocations: 12.03 kB / 1.225 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001523/0.4365, allocations: 135.6 kB / 1.225 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000971/0.4375, allocations: 195.3 kB / 1.225 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.4385, allocations: 0.7545 MB / 1.226 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.317e-05/0.4386, allocations: 62 kB / 1.226 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.4387, allocations: 87.98 kB / 1.226 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.4402, allocations: 0.9301 MB / 1.227 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.4402, allocations: 7.906 kB / 1.227 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.603e-05/0.4403, allocations: 39.94 kB / 1.227 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.4403, allocations: 23.94 kB / 1.227 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001667/0.442, allocations: 1.128 MB / 1.228 GB, free: 5.523 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.003789/0.4458, allocations: 2.763 MB / 1.231 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.4473, allocations: 0.8135 MB / 1.231 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005347/0.4478, allocations: 306.7 kB / 1.232 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.671e-05/0.4479, allocations: 32.61 kB / 1.232 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008785/0.4488, allocations: 0.4893 MB / 1.232 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.324e-06/0.4488, allocations: 0 / 1.232 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003194/0.452, allocations: 1.213 MB / 1.233 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.515e-05/0.4521, allocations: 188.6 kB / 1.234 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007893/0.4529, allocations: 0.6449 MB / 1.234 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.383e-05/0.453, allocations: 41.7 kB / 1.234 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003032/0.4533, allocations: 408.3 kB / 1.235 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002085/0.4535, allocations: 272.2 kB / 1.235 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/0.4537, allocations: 150.5 kB / 1.235 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.4539, allocations: 386.8 kB / 1.235 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000508/0.4544, allocations: 249.8 kB / 1.236 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005972/0.455, allocations: 366.5 kB / 1.236 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.4561, allocations: 0.5877 MB / 1.237 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.4561, allocations: 4 kB / 1.237 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001914/0.4581, allocations: 0.8136 MB / 1.237 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.4581, allocations: 4 kB / 1.237 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.4581, allocations: 0 / 1.237 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006221/0.4587, allocations: 88.8 kB / 1.238 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006397/0.4594, allocations: 159.8 kB / 1.238 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.4615, allocations: 1.636 MB / 1.239 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006865/0.4622, allocations: 87.31 kB / 1.239 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.377e-05/0.4623, allocations: 32.05 kB / 1.239 GB, free: 9.395 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 (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.0004206/0.4628, allocations: 269.6 kB / 1.24 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/0.4629, allocations: 82.97 kB / 1.24 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002412/0.4654, allocations: 1.077 MB / 1.241 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.4654, allocations: 8.047 kB / 1.241 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.4654, allocations: 7.984 kB / 1.241 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.4654, allocations: 3.984 kB / 1.241 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.4665, allocations: 0.9036 MB / 1.242 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.4665, allocations: 0 / 1.242 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006234/0.4671, allocations: 155.8 kB / 1.242 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004561/0.4676, allocations: 72.73 kB / 1.242 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.481e-05/0.4677, allocations: 27.97 kB / 1.242 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001849/0.4695, allocations: 1.666 MB / 1.244 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4695, allocations: 0 / 1.244 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002614/0.4722, allocations: 1.336 MB / 1.245 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003624/0.4725, allocations: 275.7 kB / 1.245 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.4727, allocations: 23.84 kB / 1.245 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006441/0.4733, allocations: 68 kB / 1.245 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.4735, allocations: 68.89 kB / 1.245 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.12e-05/0.4736, allocations: 35.98 kB / 1.245 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005743/0.4742, allocations: 471 kB / 1.246 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4742, allocations: 0 / 1.246 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008489/0.475, allocations: 323.2 kB / 1.246 GB, free: 2.301 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 (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.004052/0.4791, allocations: 2.382 MB / 1.248 GB, free: 72 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.4974/0.9765, allocations: 1.004 MB / 1.249 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.9766, allocations: 6.312 kB / 1.249 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.9776, allocations: 0.5167 MB / 1.25 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/0.9791, allocations: 305 kB / 1.25 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/0.99, allocations: 6.599 MB / 1.257 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000438/0.9904, allocations: 1.033 MB / 1.258 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009513/0.9914, allocations: 263.2 kB / 1.258 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005107/0.9919, allocations: 396.9 kB / 1.258 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.092e-06/0.9919, allocations: 0 / 1.258 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05935/1.051, allocations: 21.67 MB / 1.279 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/12.4, allocations: 5.734 kB / 1.279 GB, free: 177.9 MB / 0.9981 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 50 --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