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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007287/0.0007287, allocations: 79.69 kB / 20.02 MB, free: 4.488 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007622/0.0007622, allocations: 166.3 kB / 23.32 MB, free: 1.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8529/0.8529, allocations: 177.1 MB / 203.6 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.744/1.744, allocations: 388.6 MB / 0.6335 GB, free: 13.09 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 1 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.329e-05, allocations: 10.16 kB / 1 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.004724/0.004747, allocations: 4.79 MB / 1.005 GB, free: 7.727 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.5576/0.5623, allocations: 132.8 MB / 1.135 GB, free: 1.16 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006545/0.563, allocations: 24.41 kB / 1.135 GB, free: 1.148 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0005061/0.5635, allocations: 214.6 kB / 1.135 GB, free: 0.9609 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001226/0.5647, allocations: 0.6007 MB / 1.136 GB, free: 0.5195 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.566, allocations: 0.8897 MB / 1.136 GB, free: 15.87 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001091/0.5671, allocations: 1.537 MB / 1.138 GB, free: 14.9 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005454/0.5677, allocations: 409.2 kB / 1.138 GB, free: 14.61 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007348/0.5684, allocations: 0.7781 MB / 1.139 GB, free: 14.11 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004254/0.5688, allocations: 437.8 kB / 1.139 GB, free: 13.84 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001373/0.569, allocations: 127.4 kB / 1.14 GB, free: 13.84 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006461/0.5696, allocations: 0.4939 MB / 1.14 GB, free: 13.67 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000235/0.5698, allocations: 327.9 kB / 1.14 GB, free: 13.41 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003257/0.5702, allocations: 414.8 kB / 1.141 GB, free: 13.16 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.5716, allocations: 1.867 MB / 1.143 GB, free: 11.82 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.5716, allocations: 1.062 kB / 1.143 GB, free: 11.82 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5716, allocations: 0 / 1.143 GB, free: 11.82 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.238e-05/0.5717, allocations: 0 / 1.143 GB, free: 11.82 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.001835/0.5735, allocations: 1.493 MB / 1.144 GB, free: 10.68 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.5735, allocations: 10.34 kB / 1.144 GB, free: 10.68 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007938/0.5743, allocations: 247.8 kB / 1.144 GB, free: 10.56 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008957/0.5752, allocations: 0.736 MB / 1.145 GB, free: 9.988 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.507e-05/0.5753, allocations: 71.67 kB / 1.145 GB, free: 9.953 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.955e-05/0.5754, allocations: 97.59 kB / 1.145 GB, free: 9.918 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.5766, allocations: 1.227 MB / 1.146 GB, free: 8.988 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/0.5767, allocations: 7.938 kB / 1.146 GB, free: 8.98 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-05/0.5767, allocations: 37.59 kB / 1.146 GB, free: 8.953 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.5768, allocations: 25.78 kB / 1.146 GB, free: 8.949 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.5779, allocations: 1.097 MB / 1.148 GB, free: 8.406 MB / 0.9948 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.002578/0.5805, allocations: 2.306 MB / 1.15 GB, free: 6.699 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.5816, allocations: 0.8528 MB / 1.151 GB, free: 6.262 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003589/0.5819, allocations: 313.6 kB / 1.151 GB, free: 6.102 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.119e-05/0.582, allocations: 25.73 kB / 1.151 GB, free: 6.094 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005753/0.5825, allocations: 0.6265 MB / 1.152 GB, free: 5.633 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=93): time 2.424e-06/0.5825, allocations: 4 kB / 1.152 GB, free: 5.629 MB / 0.9948 GB Notification: Performance of matching and sorting (n=93): time 0.001825/0.5844, allocations: 1.21 MB / 1.153 GB, free: 5.039 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.184e-05/0.5844, allocations: 202.3 kB / 1.153 GB, free: 4.812 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004909/0.5849, allocations: 0.6341 MB / 1.154 GB, free: 4.434 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.024e-05/0.585, allocations: 49.95 kB / 1.154 GB, free: 4.387 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.5852, allocations: 424 kB / 1.154 GB, free: 4.016 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.5853, allocations: 310.3 kB / 1.154 GB, free: 3.746 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.5855, allocations: 183.7 kB / 1.154 GB, free: 3.637 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.5856, allocations: 398 kB / 1.155 GB, free: 3.258 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.586, allocations: 304.3 kB / 1.155 GB, free: 3.109 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004556/0.5864, allocations: 0.5354 MB / 1.156 GB, free: 2.715 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007432/0.5872, allocations: 0.6659 MB / 1.156 GB, free: 2.363 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.5872, allocations: 0 / 1.156 GB, free: 2.363 MB / 0.9948 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001192/0.5884, allocations: 0.9531 MB / 1.157 GB, free: 1.887 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.5884, allocations: 5 kB / 1.157 GB, free: 1.887 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.5884, allocations: 2.781 kB / 1.157 GB, free: 1.887 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003455/0.5887, allocations: 84.95 kB / 1.157 GB, free: 1.844 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004386/0.5892, allocations: 183.3 kB / 1.158 GB, free: 1.797 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/0.5904, allocations: 1.498 MB / 1.159 GB, free: 224 kB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003533/0.5908, allocations: 99.48 kB / 1.159 GB, free: 124 kB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.965e-05/0.5908, allocations: 43.92 kB / 1.159 GB, free: 80 kB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (113): * Single equations (assignments): 112 * 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.0002738/0.5911, allocations: 284.3 kB / 1.159 GB, free: 15.79 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.774e-05/0.5912, allocations: 99.27 kB / 1.159 GB, free: 15.7 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/0.5926, allocations: 1.106 MB / 1.161 GB, free: 14.59 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.5926, allocations: 16 kB / 1.161 GB, free: 14.57 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.5926, allocations: 0 / 1.161 GB, free: 14.57 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.5926, allocations: 4.047 kB / 1.161 GB, free: 14.57 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002068/0.5947, allocations: 1.958 MB / 1.162 GB, free: 12.55 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.5947, allocations: 3.938 kB / 1.162 GB, free: 12.55 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003452/0.595, allocations: 167.7 kB / 1.163 GB, free: 12.39 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001996/0.5952, allocations: 72.78 kB / 1.163 GB, free: 12.31 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.879e-05/0.5953, allocations: 27.98 kB / 1.163 GB, free: 12.29 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.5963, allocations: 1.517 MB / 1.164 GB, free: 10.66 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.5963, allocations: 0 / 1.164 GB, free: 10.66 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.5979, allocations: 1.485 MB / 1.166 GB, free: 9.156 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002364/0.5982, allocations: 207.1 kB / 1.166 GB, free: 8.953 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.163e-05/0.5983, allocations: 27.92 kB / 1.166 GB, free: 8.926 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003273/0.5986, allocations: 68 kB / 1.166 GB, free: 8.859 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.5987, allocations: 76.84 kB / 1.166 GB, free: 8.781 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-05/0.5987, allocations: 35.98 kB / 1.166 GB, free: 8.746 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003449/0.5991, allocations: 451 kB / 1.167 GB, free: 8.312 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.5991, allocations: 0 / 1.167 GB, free: 8.312 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005603/0.5996, allocations: 355.1 kB / 1.167 GB, free: 7.965 MB / 1.01 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: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0009642/0.6006, allocations: 0.668 MB / 1.167 GB, free: 7.504 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001108/0.6017, allocations: 0.8624 MB / 1.168 GB, free: 6.633 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6017, allocations: 0 / 1.168 GB, free: 6.633 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0006557/0.6024, allocations: 0.516 MB / 1.169 GB, free: 6.105 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.6034, allocations: 297.4 kB / 1.169 GB, free: 5.832 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/0.6061, allocations: 1.887 MB / 1.171 GB, free: 3.91 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.6064, allocations: 469.5 kB / 1.171 GB, free: 3.426 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004754/0.6068, allocations: 263 kB / 1.172 GB, free: 3.164 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.607, allocations: 112.4 kB / 1.172 GB, free: 3.055 MB / 1.01 GB Notification: Performance of SimCode: time 4.31e-07/0.607, allocations: 0 / 1.172 GB, free: 3.055 MB / 1.01 GB Notification: Performance of Templates: time 0.01691/0.6239, allocations: 15.96 MB / 1.187 GB, free: 3.352 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 300] (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=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.086619945243001]