Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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: translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 109.7 kB / 15.99 MB, free: 5.891 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.00136/0.00136, allocations: 194.9 kB / 16.91 MB, free: 5.746 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.328/1.328, allocations: 222.9 MB / 240.6 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.795/2.795, allocations: 469.4 MB / 0.7423 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 72.33 kB / 0.9083 GB, free: 34.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.304, allocations: 159.1 MB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.007661/0.3117, allocations: 4.94 MB / 1.069 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1532/0.465, allocations: 148.4 MB / 1.213 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008006/0.4658, allocations: 19.88 kB / 1.213 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006056/0.4665, allocations: 154.8 kB / 1.214 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001737/0.4682, allocations: 479.9 kB / 1.214 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001888/0.4701, allocations: 0.7426 MB / 1.215 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001519/0.4717, allocations: 1.37 MB / 1.216 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008388/0.4725, allocations: 0.5753 MB / 1.217 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006544/0.4732, allocations: 482.3 kB / 1.217 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005531/0.4737, allocations: 0.4978 MB / 1.218 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001437/0.4739, allocations: 112 kB / 1.218 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000779/0.4747, allocations: 459.7 kB / 1.218 GB, free: 228 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002606/0.475, allocations: 291 kB / 1.218 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004777/0.4754, allocations: 0.5558 MB / 1.219 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00138/0.4768, allocations: 1.204 MB / 1.22 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4768, allocations: 0 / 1.22 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4769, allocations: 0 / 1.22 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.731e-05/0.4769, allocations: 0 / 1.22 GB, free: 14.17 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002439/0.4793, allocations: 1.434 MB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.4794, allocations: 8.031 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000919/0.4803, allocations: 179.4 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.4813, allocations: 0.7383 MB / 1.222 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.625e-05/0.4814, allocations: 62 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.4815, allocations: 83.97 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.483, allocations: 0.9152 MB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.483, allocations: 0 / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.307e-05/0.4831, allocations: 40 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.577e-05/0.4832, allocations: 20 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/0.4848, allocations: 1.093 MB / 1.225 GB, free: 9.465 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.003976/0.4888, allocations: 2.767 MB / 1.227 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.4902, allocations: 0.7831 MB / 1.228 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005056/0.4907, allocations: 306.6 kB / 1.228 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.698e-05/0.4908, allocations: 32.59 kB / 1.228 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008896/0.4917, allocations: 491 kB / 1.229 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=78): time 2.645e-06/0.4917, allocations: 0 / 1.229 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of matching and sorting (n=78): time 0.003118/0.4949, allocations: 1.17 MB / 1.23 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.495, allocations: 192.6 kB / 1.23 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007615/0.4957, allocations: 0.6409 MB / 1.231 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.2e-05/0.4958, allocations: 41.7 kB / 1.231 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003081/0.4961, allocations: 396.3 kB / 1.231 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/0.4963, allocations: 248.4 kB / 1.231 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002379/0.4966, allocations: 162.5 kB / 1.232 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.4968, allocations: 394.7 kB / 1.232 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005103/0.4973, allocations: 261.9 kB / 1.232 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005957/0.4979, allocations: 360 kB / 1.233 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.4989, allocations: 0.6042 MB / 1.233 GB, free: 400 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.4989, allocations: 0 / 1.233 GB, free: 400 kB / 0.9825 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001901/0.5008, allocations: 0.8416 MB / 1.234 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.5009, allocations: 9.875 kB / 1.234 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.5009, allocations: 0 / 1.234 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005933/0.5015, allocations: 84.84 kB / 1.234 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006372/0.5021, allocations: 163.7 kB / 1.234 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/0.5042, allocations: 1.643 MB / 1.236 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007472/0.505, allocations: 87.33 kB / 1.236 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.871e-05/0.5051, allocations: 39.84 kB / 1.236 GB, free: 13.37 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (93): * Single equations (assignments): 92 * 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.0004093/0.5055, allocations: 271.3 kB / 1.236 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/0.5057, allocations: 90.95 kB / 1.236 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002288/0.5079, allocations: 1.046 MB / 1.237 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.914e-06/0.508, allocations: 12 kB / 1.237 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.508, allocations: 3.938 kB / 1.237 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.508, allocations: 7.984 kB / 1.237 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.509, allocations: 0.8801 MB / 1.238 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.509, allocations: 0 / 1.238 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005611/0.5096, allocations: 143.8 kB / 1.238 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004446/0.5101, allocations: 68.8 kB / 1.238 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.793e-05/0.5101, allocations: 27.97 kB / 1.238 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00188/0.512, allocations: 1.654 MB / 1.24 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.512, allocations: 0 / 1.24 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/0.514, allocations: 0.9161 MB / 1.241 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003661/0.5143, allocations: 267.7 kB / 1.241 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.5145, allocations: 19.98 kB / 1.241 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006015/0.5151, allocations: 65.91 kB / 1.241 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.5152, allocations: 73.03 kB / 1.241 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.87e-05/0.5153, allocations: 35.92 kB / 1.241 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005751/0.5159, allocations: 467 kB / 1.242 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5159, allocations: 0 / 1.242 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008013/0.5167, allocations: 327.2 kB / 1.242 GB, free: 6.766 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.001331/0.518, allocations: 0.5981 MB / 1.243 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002313/0.5204, allocations: 1.015 MB / 1.244 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.5204, allocations: 0 / 1.244 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009187/0.5213, allocations: 0.5042 MB / 1.244 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.5226, allocations: 297.2 kB / 1.245 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003357/0.526, allocations: 2.118 MB / 1.247 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000622/0.5266, allocations: 1.015 MB / 1.248 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000358/0.527, allocations: 119.4 kB / 1.248 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of SimCode: time 8.82e-07/0.527, allocations: 0 / 1.248 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of Templates: time 0.466/0.993, allocations: 18.34 MB / 1.266 GB, free: 182 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches