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: translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001782/0.001782, allocations: 192 kB / 16.14 MB, free: 6.711 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.525/1.525, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.648/2.648, allocations: 461.9 MB / 0.7342 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 64.03 kB / 0.8984 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3002, allocations: 157.4 MB / 1.052 GB, free: 8.773 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006302/0.3066, allocations: 5.125 MB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1477/0.4543, allocations: 148.3 MB / 1.202 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000964/0.4553, allocations: 19.88 kB / 1.202 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008053/0.4561, allocations: 150.8 kB / 1.202 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001856/0.458, allocations: 480.8 kB / 1.203 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001923/0.46, allocations: 0.7267 MB / 1.203 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001613/0.4616, allocations: 1.334 MB / 1.205 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009267/0.4625, allocations: 0.5651 MB / 1.205 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007674/0.4633, allocations: 438.2 kB / 1.206 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006565/0.464, allocations: 489.7 kB / 1.206 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001643/0.4642, allocations: 59.94 kB / 1.206 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008998/0.4651, allocations: 395.7 kB / 1.206 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002602/0.4653, allocations: 239 kB / 1.207 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006297/0.466, allocations: 0.5205 MB / 1.207 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001928/0.4679, allocations: 1.562 MB / 1.209 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.4679, allocations: 0 / 1.209 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4679, allocations: 4 kB / 1.209 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.907e-05/0.468, allocations: 0 / 1.209 GB, free: 7.754 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.004353/0.4724, allocations: 1.466 MB / 1.21 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/0.4724, allocations: 8.031 kB / 1.21 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/0.4737, allocations: 187.4 kB / 1.21 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.4751, allocations: 0.7546 MB / 1.211 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.4752, allocations: 62 kB / 1.211 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001846/0.4754, allocations: 87.98 kB / 1.211 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002052/0.4774, allocations: 0.934 MB / 1.212 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.4775, allocations: 3.938 kB / 1.212 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.424e-05/0.4776, allocations: 36 kB / 1.212 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.643e-05/0.4776, allocations: 27.94 kB / 1.212 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001877/0.4795, allocations: 1.124 MB / 1.213 GB, free: 2.941 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.004325/0.4838, allocations: 2.764 MB / 1.216 GB, free: 60 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/0.4853, allocations: 0.8121 MB / 1.217 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005254/0.4859, allocations: 306.7 kB / 1.217 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.703e-05/0.486, allocations: 36.59 kB / 1.217 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008946/0.4869, allocations: 499 kB / 1.218 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.845e-06/0.4869, allocations: 0 / 1.218 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003262/0.4901, allocations: 1.211 MB / 1.219 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.4903, allocations: 192.5 kB / 1.219 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000808/0.4911, allocations: 0.641 MB / 1.22 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.002e-05/0.4912, allocations: 41.7 kB / 1.22 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003241/0.4915, allocations: 416.3 kB / 1.22 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002172/0.4917, allocations: 260.2 kB / 1.22 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002491/0.492, allocations: 162.5 kB / 1.22 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.4922, allocations: 390.8 kB / 1.221 GB, free: 11 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005357/0.4927, allocations: 273.8 kB / 1.221 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006414/0.4933, allocations: 363.1 kB / 1.221 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.4945, allocations: 0.6151 MB / 1.222 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.4945, allocations: 0 / 1.222 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00203/0.4965, allocations: 0.8643 MB / 1.223 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.4966, allocations: 4 kB / 1.223 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.4966, allocations: 4 kB / 1.223 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000639/0.4972, allocations: 84.86 kB / 1.223 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000698/0.4979, allocations: 163.8 kB / 1.223 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002097/0.5, allocations: 1.529 MB / 1.225 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007927/0.5008, allocations: 103.3 kB / 1.225 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-05/0.5009, allocations: 31.98 kB / 1.225 GB, free: 6.805 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 (97): * Single equations (assignments): 96 * 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.0004563/0.5014, allocations: 271.3 kB / 1.225 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001971/0.5016, allocations: 91 kB / 1.225 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002457/0.5041, allocations: 1.07 MB / 1.226 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.5041, allocations: 8 kB / 1.226 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.5041, allocations: 3.938 kB / 1.226 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.5041, allocations: 3.984 kB / 1.226 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.5054, allocations: 0.9113 MB / 1.227 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.5054, allocations: 0 / 1.227 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000636/0.5061, allocations: 151.8 kB / 1.227 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005434/0.5066, allocations: 84.77 kB / 1.227 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.52e-05/0.5067, allocations: 27.97 kB / 1.227 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00185/0.5085, allocations: 1.544 MB / 1.229 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.5086, allocations: 0 / 1.229 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00265/0.5112, allocations: 1.344 MB / 1.23 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003714/0.5116, allocations: 271.8 kB / 1.23 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.5117, allocations: 20 kB / 1.23 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006476/0.5124, allocations: 63.92 kB / 1.23 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.5126, allocations: 80.95 kB / 1.231 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.029e-05/0.5126, allocations: 31.98 kB / 1.231 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005757/0.5132, allocations: 463 kB / 1.231 GB, free: 148 kB / 0.9825 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5132, allocations: 0 / 1.231 GB, free: 148 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008558/0.5141, allocations: 331.2 kB / 1.231 GB, free: 15.82 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.001382/0.5155, allocations: 0.6046 MB / 1.232 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001665/0.5172, allocations: 0.8351 MB / 1.233 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.5172, allocations: 7.938 kB / 1.233 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009334/0.5181, allocations: 0.5238 MB / 1.233 GB, free: 14 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.5193, allocations: 266.5 kB / 1.233 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003296/0.5226, allocations: 2.201 MB / 1.236 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006442/0.5233, allocations: 1.033 MB / 1.237 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008359/0.5241, allocations: 274.6 kB / 1.237 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002826/0.5244, allocations: 107.4 kB / 1.237 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/0.5244, allocations: 0 / 1.237 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of Templates: time 0.4656/0.99, allocations: 14.6 MB / 1.251 GB, free: 190.4 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile (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 & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches