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.0009955/0.0009956, allocations: 92.16 kB / 16.02 MB, free: 80 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.001315/0.001315, allocations: 173.2 kB / 16.92 MB, free: 6.652 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.326/1.326, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.59/2.59, allocations: 462.6 MB / 0.737 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.0003839, allocations: 12.33 kB / 0.9034 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.2998, allocations: 159.6 MB / 1.059 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.005602/0.3055, allocations: 4.817 MB / 1.064 GB, free: 176 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1505/0.4561, allocations: 146.8 MB / 1.207 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007665/0.4569, allocations: 15.94 kB / 1.207 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005286/0.4574, allocations: 166.7 kB / 1.207 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001662/0.4591, allocations: 484.8 kB / 1.208 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.4609, allocations: 0.7288 MB / 1.209 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001534/0.4625, allocations: 1.354 MB / 1.21 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009848/0.4635, allocations: 0.5676 MB / 1.211 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007098/0.4642, allocations: 370.2 kB / 1.211 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006892/0.4649, allocations: 413.8 kB / 1.211 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001871/0.4651, allocations: 32 kB / 1.211 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009348/0.466, allocations: 371.6 kB / 1.212 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002166/0.4662, allocations: 195 kB / 1.212 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004429/0.4667, allocations: 0.491 MB / 1.212 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.4679, allocations: 1.22 MB / 1.214 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.4679, allocations: 4 kB / 1.214 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4679, allocations: 0 / 1.214 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.4679, allocations: 0 / 1.214 GB, free: 6.438 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.002235/0.4702, allocations: 1.263 MB / 1.215 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.4702, allocations: 11.97 kB / 1.215 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008873/0.4711, allocations: 207.3 kB / 1.215 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.4722, allocations: 0.7662 MB / 1.216 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.846e-05/0.4722, allocations: 69.98 kB / 1.216 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.4723, allocations: 84 kB / 1.216 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.4739, allocations: 0.9535 MB / 1.217 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.4739, allocations: 3.938 kB / 1.217 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.052e-05/0.474, allocations: 36 kB / 1.217 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.474, allocations: 28 kB / 1.217 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/0.4758, allocations: 1.143 MB / 1.218 GB, free: 1.746 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.004118/0.4799, allocations: 2.839 MB / 1.221 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/0.4814, allocations: 0.8613 MB / 1.222 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005374/0.482, allocations: 326.6 kB / 1.222 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.811e-05/0.4821, allocations: 28.69 kB / 1.222 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008965/0.483, allocations: 0.5179 MB / 1.222 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=85): time 2.565e-06/0.483, allocations: 0 / 1.222 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85): time 0.003218/0.4862, allocations: 1.259 MB / 1.224 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.807e-05/0.4863, allocations: 192.9 kB / 1.224 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000825/0.4872, allocations: 0.6528 MB / 1.224 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.552e-05/0.4873, allocations: 41.7 kB / 1.225 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003021/0.4876, allocations: 412.4 kB / 1.225 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002211/0.4878, allocations: 280 kB / 1.225 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.4879, allocations: 73.62 kB / 1.225 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.4881, allocations: 390.7 kB / 1.226 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000535/0.4886, allocations: 281.9 kB / 1.226 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005938/0.4892, allocations: 379.1 kB / 1.226 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.4903, allocations: 0.6398 MB / 1.227 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.4903, allocations: 0 / 1.227 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001896/0.4922, allocations: 0.8956 MB / 1.228 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.4923, allocations: 4 kB / 1.228 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.4923, allocations: 0 / 1.228 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005891/0.4929, allocations: 88.86 kB / 1.228 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006729/0.4935, allocations: 179.7 kB / 1.228 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002106/0.4957, allocations: 1.525 MB / 1.23 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007865/0.4965, allocations: 111.3 kB / 1.23 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.005e-05/0.4965, allocations: 39.97 kB / 1.23 GB, free: 5.352 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.0004697/0.497, allocations: 271.9 kB / 1.23 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.4972, allocations: 86.97 kB / 1.23 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002387/0.4996, allocations: 1.101 MB / 1.231 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.4996, allocations: 11.94 kB / 1.231 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.4996, allocations: 4 kB / 1.231 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.4996, allocations: 3.984 kB / 1.231 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.5007, allocations: 0.9269 MB / 1.232 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.5007, allocations: 0 / 1.232 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006307/0.5013, allocations: 163.8 kB / 1.232 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005205/0.5019, allocations: 80.78 kB / 1.232 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.956e-05/0.5019, allocations: 27.97 kB / 1.232 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001752/0.5037, allocations: 1.548 MB / 1.234 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.5037, allocations: 3.984 kB / 1.234 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002632/0.5064, allocations: 1.379 MB / 1.235 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004156/0.5068, allocations: 295.7 kB / 1.235 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.5069, allocations: 20 kB / 1.235 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006576/0.5076, allocations: 89.92 kB / 1.236 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/0.5077, allocations: 72.89 kB / 1.236 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.245e-05/0.5078, allocations: 31.98 kB / 1.236 GB, free: 15 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005637/0.5084, allocations: 475 kB / 1.236 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.873e-06/0.5084, allocations: 0 / 1.236 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008296/0.5092, allocations: 343.1 kB / 1.236 GB, free: 14.21 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.001344/0.5106, allocations: 0.6002 MB / 1.237 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001734/0.5123, allocations: 0.8626 MB / 1.238 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.5124, allocations: 3.984 kB / 1.238 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009039/0.5133, allocations: 0.5354 MB / 1.238 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.5146, allocations: 272.5 kB / 1.239 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003723/0.5184, allocations: 2.399 MB / 1.241 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006627/0.5191, allocations: 1.032 MB / 1.242 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003641/0.5194, allocations: 119.4 kB / 1.242 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of SimCode: time 1.233e-06/0.5194, allocations: 0 / 1.242 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of Templates: time 0.5182/1.038, allocations: 18.96 MB / 1.261 GB, free: 184.1 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