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.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.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.0009243/0.0009243, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.007012/0.007012, allocations: 168.8 kB / 16.26 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.352/1.352, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.801/2.801, allocations: 462.7 MB / 0.7364 GB, free: 288 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004059/0.0004059, allocations: 7.438 kB / 0.9028 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3137, allocations: 159.6 MB / 1.059 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.00584/0.3196, allocations: 4.817 MB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.157/0.4767, allocations: 146.8 MB / 1.207 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.4777, allocations: 15.94 kB / 1.207 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008376/0.4786, allocations: 162.7 kB / 1.207 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002433/0.481, allocations: 493 kB / 1.207 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002597/0.4836, allocations: 0.7359 MB / 1.208 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002357/0.486, allocations: 1.346 MB / 1.209 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001063/0.4871, allocations: 0.5793 MB / 1.21 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007426/0.4878, allocations: 358.3 kB / 1.21 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007636/0.4886, allocations: 413.8 kB / 1.211 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001789/0.4888, allocations: 28 kB / 1.211 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009162/0.4897, allocations: 371.6 kB / 1.211 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002364/0.49, allocations: 203 kB / 1.211 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005618/0.4906, allocations: 498.7 kB / 1.212 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001775/0.4923, allocations: 1.549 MB / 1.213 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.4924, allocations: 0 / 1.213 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4924, allocations: 0 / 1.213 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.314e-05/0.4924, allocations: 0 / 1.213 GB, free: 6.59 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.002313/0.4947, allocations: 1.271 MB / 1.214 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.4948, allocations: 8.031 kB / 1.214 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009135/0.4957, allocations: 203.3 kB / 1.215 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.4967, allocations: 0.7662 MB / 1.215 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.846e-05/0.4968, allocations: 69.98 kB / 1.215 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.4969, allocations: 84 kB / 1.216 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.4985, allocations: 0.9535 MB / 1.216 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.4985, allocations: 0 / 1.216 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.83e-05/0.4986, allocations: 40 kB / 1.217 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/0.4987, allocations: 27.98 kB / 1.217 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001743/0.5004, allocations: 1.139 MB / 1.218 GB, free: 1.906 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.003948/0.5044, allocations: 2.842 MB / 1.22 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.5059, allocations: 0.8514 MB / 1.221 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005615/0.5065, allocations: 325.2 kB / 1.222 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.91e-05/0.5066, allocations: 36.67 kB / 1.222 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008754/0.5074, allocations: 0.5178 MB / 1.222 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=85): time 3.667e-06/0.5075, allocations: 0 / 1.222 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85): time 0.003224/0.5107, allocations: 1.266 MB / 1.223 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.879e-05/0.5108, allocations: 192.9 kB / 1.224 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007893/0.5116, allocations: 0.6528 MB / 1.224 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.844e-05/0.5117, allocations: 41.7 kB / 1.224 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003055/0.512, allocations: 412.4 kB / 1.225 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002099/0.5122, allocations: 276 kB / 1.225 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.5123, allocations: 73.67 kB / 1.225 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.5125, allocations: 386.8 kB / 1.225 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005562/0.513, allocations: 285.8 kB / 1.226 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000634/0.5137, allocations: 383.1 kB / 1.226 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.5148, allocations: 0.6398 MB / 1.227 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.5149, allocations: 0 / 1.227 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001978/0.5168, allocations: 0.8956 MB / 1.227 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.5169, allocations: 4 kB / 1.227 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.5169, allocations: 4 kB / 1.227 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000621/0.5175, allocations: 84.86 kB / 1.228 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007081/0.5182, allocations: 171.8 kB / 1.228 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002007/0.5202, allocations: 1.529 MB / 1.229 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007935/0.5211, allocations: 111.3 kB / 1.229 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.666e-05/0.5211, allocations: 35.98 kB / 1.229 GB, free: 5.508 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.0004412/0.5216, allocations: 275.1 kB / 1.23 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.5217, allocations: 86.97 kB / 1.23 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0026/0.5243, allocations: 1.101 MB / 1.231 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.5244, allocations: 15.94 kB / 1.231 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.5244, allocations: 0 / 1.231 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.5244, allocations: 3.984 kB / 1.231 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.5255, allocations: 0.923 MB / 1.232 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.5255, allocations: 3.938 kB / 1.232 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006536/0.5262, allocations: 163.8 kB / 1.232 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005498/0.5268, allocations: 84.72 kB / 1.232 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.694e-05/0.5268, allocations: 31.97 kB / 1.232 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/0.5287, allocations: 1.548 MB / 1.233 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.5287, allocations: 0 / 1.233 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00267/0.5314, allocations: 1.387 MB / 1.235 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003785/0.5317, allocations: 287.6 kB / 1.235 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.5319, allocations: 24 kB / 1.235 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006869/0.5326, allocations: 83.98 kB / 1.235 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.5327, allocations: 68.89 kB / 1.235 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.025e-05/0.5328, allocations: 35.98 kB / 1.235 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005887/0.5334, allocations: 471 kB / 1.236 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/0.5334, allocations: 4 kB / 1.236 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008949/0.5343, allocations: 339.1 kB / 1.236 GB, free: 14.37 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.001433/0.5357, allocations: 0.6149 MB / 1.237 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001701/0.5375, allocations: 0.8626 MB / 1.238 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5375, allocations: 0 / 1.238 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009222/0.5384, allocations: 0.5315 MB / 1.238 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.5397, allocations: 274.1 kB / 1.238 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00343/0.5431, allocations: 2.352 MB / 1.241 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007419/0.5438, allocations: 1.036 MB / 1.242 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008507/0.5447, allocations: 266.8 kB / 1.242 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/0.545, allocations: 103.4 kB / 1.242 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of SimCode: time 2.61e-07/0.545, allocations: 0 / 1.242 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of Templates: time 0.6017/1.147, allocations: 14.68 MB / 1.256 GB, free: 188.5 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