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.00144/0.00144, allocations: 100.1 kB / 15.88 MB, free: 12 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.001631/0.001631, allocations: 199.9 kB / 16.79 MB, free: 6.809 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.359/1.359, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.647/2.647, allocations: 461.8 MB / 0.7348 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 66.33 kB / 0.899 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2876, allocations: 157.4 MB / 1.053 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006988/0.2946, allocations: 5.249 MB / 1.058 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1452/0.4399, allocations: 148.3 MB / 1.203 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.441, allocations: 19.88 kB / 1.203 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006746/0.4417, allocations: 154.8 kB / 1.203 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001836/0.4436, allocations: 491.6 kB / 1.203 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001801/0.4454, allocations: 0.7412 MB / 1.204 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001498/0.4469, allocations: 1.346 MB / 1.205 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007937/0.4477, allocations: 0.587 MB / 1.206 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005663/0.4483, allocations: 446.2 kB / 1.206 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005055/0.4488, allocations: 0.4899 MB / 1.207 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.4489, allocations: 60 kB / 1.207 GB, free: 9.789 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008534/0.4498, allocations: 403.6 kB / 1.207 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002393/0.45, allocations: 243 kB / 1.208 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004703/0.4505, allocations: 0.5322 MB / 1.208 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001145/0.4516, allocations: 1.236 MB / 1.209 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.4517, allocations: 4 kB / 1.209 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4517, allocations: 0 / 1.209 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.4517, allocations: 4 kB / 1.209 GB, free: 7.375 MB / 0.9669 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.002542/0.4542, allocations: 1.485 MB / 1.211 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.4543, allocations: 15.97 kB / 1.211 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009165/0.4552, allocations: 195.4 kB / 1.211 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.4562, allocations: 0.7584 MB / 1.212 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.419e-05/0.4563, allocations: 66 kB / 1.212 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.4564, allocations: 91.92 kB / 1.212 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.4579, allocations: 0.9535 MB / 1.213 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.458, allocations: 3.906 kB / 1.213 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.113e-05/0.4581, allocations: 40 kB / 1.213 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.4581, allocations: 20 kB / 1.213 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001697/0.4598, allocations: 1.139 MB / 1.214 GB, free: 2.48 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.004124/0.4639, allocations: 2.798 MB / 1.217 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.4654, allocations: 0.8513 MB / 1.217 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005274/0.466, allocations: 324.9 kB / 1.218 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.043e-05/0.4661, allocations: 28.61 kB / 1.218 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009385/0.467, allocations: 0.514 MB / 1.218 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=85): time 2.715e-06/0.467, allocations: 0 / 1.218 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85): time 0.003196/0.4702, allocations: 1.243 MB / 1.22 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.4704, allocations: 188.9 kB / 1.22 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008259/0.4712, allocations: 0.649 MB / 1.22 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.363e-05/0.4713, allocations: 45.64 kB / 1.22 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003095/0.4716, allocations: 424.3 kB / 1.221 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000224/0.4718, allocations: 272 kB / 1.221 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002435/0.4721, allocations: 174.5 kB / 1.221 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.4722, allocations: 386.8 kB / 1.222 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005236/0.4728, allocations: 285.8 kB / 1.222 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000617/0.4734, allocations: 383.2 kB / 1.222 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.4745, allocations: 0.6242 MB / 1.223 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.4745, allocations: 0 / 1.223 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002042/0.4766, allocations: 0.8839 MB / 1.224 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.4766, allocations: 8.094 kB / 1.224 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.4766, allocations: 0 / 1.224 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005913/0.4772, allocations: 84.72 kB / 1.224 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006875/0.4779, allocations: 175.8 kB / 1.224 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/0.48, allocations: 1.52 MB / 1.225 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008316/0.4808, allocations: 103.3 kB / 1.226 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.111e-05/0.4809, allocations: 35.97 kB / 1.226 GB, free: 6.102 MB / 0.9825 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (100): * Single equations (assignments): 99 * 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.000475/0.4814, allocations: 279.3 kB / 1.226 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.4815, allocations: 86.97 kB / 1.226 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002273/0.4838, allocations: 1.082 MB / 1.227 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.4838, allocations: 15.94 kB / 1.227 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.4838, allocations: 0 / 1.227 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.4839, allocations: 12 kB / 1.227 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.485, allocations: 0.9308 MB / 1.228 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.485, allocations: 0 / 1.228 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006197/0.4856, allocations: 155.8 kB / 1.228 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005097/0.4861, allocations: 84.77 kB / 1.228 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.593e-05/0.4862, allocations: 23.98 kB / 1.228 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001704/0.4879, allocations: 1.551 MB / 1.23 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4879, allocations: 0 / 1.23 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002684/0.4906, allocations: 1.371 MB / 1.231 GB, free: 292 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004511/0.4911, allocations: 275.7 kB / 1.231 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001791/0.4912, allocations: 23.94 kB / 1.231 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007023/0.492, allocations: 65.56 kB / 1.231 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.4921, allocations: 72.89 kB / 1.231 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.105e-05/0.4922, allocations: 39.97 kB / 1.231 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006488/0.4929, allocations: 467 kB / 1.232 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4929, allocations: 0 / 1.232 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009805/0.4939, allocations: 347.1 kB / 1.232 GB, free: 15.01 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.001562/0.4954, allocations: 0.5971 MB / 1.233 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001837/0.4973, allocations: 0.8431 MB / 1.234 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.4973, allocations: 4 kB / 1.234 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009961/0.4983, allocations: 0.5352 MB / 1.234 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/0.4997, allocations: 292.9 kB / 1.234 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003784/0.5035, allocations: 2.328 MB / 1.237 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006557/0.5041, allocations: 1.04 MB / 1.238 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003737/0.5045, allocations: 107.4 kB / 1.238 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of SimCode: time 1.283e-06/0.5045, allocations: 4 kB / 1.238 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of Templates: time 0.5174/1.022, allocations: 19.08 MB / 1.256 GB, free: 190.7 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/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