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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001322/0.001322, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.98/2.98, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003986/0.0003986, allocations: 7.344 kB / 0.9021 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4089, allocations: 159.6 MB / 1.058 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006223/0.4152, allocations: 4.553 MB / 1.062 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1832/0.5984, allocations: 136.9 MB / 1.196 GB, free: 7.508 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009832/0.5994, allocations: 19.88 kB / 1.196 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0005768/0.6, allocations: 146.8 kB / 1.196 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001754/0.6018, allocations: 477.5 kB / 1.197 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002173/0.6039, allocations: 0.6327 MB / 1.197 GB, free: 6.254 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00194/0.6059, allocations: 1.264 MB / 1.199 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009558/0.6069, allocations: 464.2 kB / 1.199 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008426/0.6077, allocations: 362.4 kB / 1.199 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006058/0.6083, allocations: 394 kB / 1.2 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.411e-05/0.6084, allocations: 28 kB / 1.2 GB, free: 3.738 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009859/0.6094, allocations: 347.6 kB / 1.2 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002097/0.6097, allocations: 187.1 kB / 1.2 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002718/0.6099, allocations: 213.1 kB / 1.2 GB, free: 3 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00135/0.6113, allocations: 1.212 MB / 1.202 GB, free: 1.785 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.6113, allocations: 0 / 1.202 GB, free: 1.785 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.515e-06/0.6113, allocations: 0 / 1.202 GB, free: 1.785 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.73e-05/0.6113, allocations: 0 / 1.202 GB, free: 1.785 MB / 0.9512 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.002507/0.6139, allocations: 1.29 MB / 1.203 GB, free: 456 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/0.6139, allocations: 8.031 kB / 1.203 GB, free: 448 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000968/0.6149, allocations: 202.4 kB / 1.203 GB, free: 244 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.6162, allocations: 0.735 MB / 1.204 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.687e-05/0.6163, allocations: 66 kB / 1.204 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.6164, allocations: 87.98 kB / 1.204 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/0.6182, allocations: 0.9535 MB / 1.205 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.6182, allocations: 0 / 1.205 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.054e-05/0.6183, allocations: 36 kB / 1.205 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/0.6183, allocations: 24 kB / 1.205 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.6201, allocations: 1.139 MB / 1.206 GB, free: 13.11 MB / 0.9669 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.004613/0.6248, allocations: 2.841 MB / 1.209 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.6263, allocations: 0.8477 MB / 1.21 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005322/0.6269, allocations: 326.7 kB / 1.21 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.305e-05/0.627, allocations: 36.67 kB / 1.21 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009581/0.6279, allocations: 0.5041 MB / 1.211 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=85): time 2.555e-06/0.628, allocations: 4 kB / 1.211 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of matching and sorting (n=85): time 0.003324/0.6313, allocations: 1.251 MB / 1.212 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.6314, allocations: 188.9 kB / 1.212 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009563/0.6324, allocations: 0.645 MB / 1.213 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.621e-05/0.6325, allocations: 45.7 kB / 1.213 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003835/0.6329, allocations: 408.5 kB / 1.213 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002591/0.6332, allocations: 283.9 kB / 1.213 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/0.6332, allocations: 16 kB / 1.213 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002045/0.6334, allocations: 390.7 kB / 1.214 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005585/0.634, allocations: 273.9 kB / 1.214 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006233/0.6346, allocations: 387 kB / 1.214 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005878/0.6352, allocations: 314.8 kB / 1.215 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.6352, allocations: 7.953 kB / 1.215 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001909/0.6372, allocations: 0.8839 MB / 1.215 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.6372, allocations: 4 kB / 1.215 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.6372, allocations: 0 / 1.215 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005784/0.6378, allocations: 88.86 kB / 1.216 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007039/0.6385, allocations: 179.7 kB / 1.216 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002012/0.6405, allocations: 1.52 MB / 1.217 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007895/0.6413, allocations: 113.5 kB / 1.217 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.295e-05/0.6414, allocations: 40 kB / 1.217 GB, free: 1.18 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005456/0.642, allocations: 279.3 kB / 1.218 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.6421, allocations: 82.97 kB / 1.218 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002349/0.6445, allocations: 1.109 MB / 1.219 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.6445, allocations: 15.95 kB / 1.219 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.6445, allocations: 0 / 1.219 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.398e-05/0.6445, allocations: 7.922 kB / 1.219 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.6458, allocations: 0.923 MB / 1.22 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.6458, allocations: 0 / 1.22 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006249/0.6464, allocations: 159.8 kB / 1.22 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004651/0.6469, allocations: 80.78 kB / 1.22 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.153e-05/0.647, allocations: 27.97 kB / 1.22 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001799/0.6488, allocations: 1.552 MB / 1.221 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6488, allocations: 4 kB / 1.221 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002619/0.6514, allocations: 1.371 MB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004537/0.6519, allocations: 291.6 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.652, allocations: 19.94 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005957/0.6526, allocations: 87.92 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.6528, allocations: 76.89 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.575e-05/0.6529, allocations: 27.98 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006204/0.6535, allocations: 471 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6535, allocations: 0 / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009686/0.6545, allocations: 335.2 kB / 1.224 GB, free: 10.04 MB / 0.9825 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001404/0.6559, allocations: 0.5962 MB / 1.225 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001713/0.6576, allocations: 0.8548 MB / 1.225 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.6576, allocations: 0 / 1.225 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0009319/0.6586, allocations: 0.5431 MB / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.6598, allocations: 275.8 kB / 1.226 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003773/0.6636, allocations: 2.281 MB / 1.229 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006706/0.6643, allocations: 1.036 MB / 1.23 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000989/0.6653, allocations: 266.8 kB / 1.23 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002677/0.6656, allocations: 103.4 kB / 1.23 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of SimCode: time 7.31e-07/0.6656, allocations: 3.938 kB / 1.23 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of Templates: time 0.02792/0.6935, allocations: 14.23 MB / 1.244 GB, free: 6.137 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile (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 & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches