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.0009454/0.0009454, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0009258/0.0009258, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8688/0.8688, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.739/1.739, allocations: 389 MB / 0.6338 GB, free: 12.7 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.774e-06/1.774e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.291e-05, allocations: 6.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.004744/0.004767, allocations: 4.764 MB / 1.006 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.631/0.6358, allocations: 132.8 MB / 1.135 GB, free: 14.67 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007372/0.6365, allocations: 29.19 kB / 1.135 GB, free: 14.65 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005537/0.6371, allocations: 205.5 kB / 1.135 GB, free: 14.52 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001402/0.6385, allocations: 0.5986 MB / 1.136 GB, free: 14.16 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001481/0.6399, allocations: 0.8854 MB / 1.137 GB, free: 13.7 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001207/0.6412, allocations: 1.538 MB / 1.138 GB, free: 12.88 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005673/0.6417, allocations: 420.7 kB / 1.139 GB, free: 12.65 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007624/0.6425, allocations: 0.7804 MB / 1.14 GB, free: 12.28 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004476/0.6429, allocations: 430.3 kB / 1.14 GB, free: 12.12 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001569/0.6431, allocations: 128.5 kB / 1.14 GB, free: 12.12 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006682/0.6438, allocations: 0.4971 MB / 1.141 GB, free: 12.01 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002184/0.644, allocations: 330.2 kB / 1.141 GB, free: 11.79 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003114/0.6443, allocations: 417.1 kB / 1.141 GB, free: 11.59 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001743/0.646, allocations: 1.862 MB / 1.143 GB, free: 10.82 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.646, allocations: 0 / 1.143 GB, free: 10.82 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.312e-06/0.646, allocations: 0 / 1.143 GB, free: 10.82 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.717e-05/0.6461, allocations: 0 / 1.143 GB, free: 10.82 MB / 1.01 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.001945/0.648, allocations: 1.493 MB / 1.145 GB, free: 9.848 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.648, allocations: 14.69 kB / 1.145 GB, free: 9.844 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007763/0.6488, allocations: 243.3 kB / 1.145 GB, free: 9.77 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/0.65, allocations: 0.7326 MB / 1.146 GB, free: 9.312 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.327e-05/0.6501, allocations: 69.81 kB / 1.146 GB, free: 9.281 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.6502, allocations: 94.86 kB / 1.146 GB, free: 9.25 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.6515, allocations: 1.23 MB / 1.147 GB, free: 8.492 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.6515, allocations: 7.891 kB / 1.147 GB, free: 8.484 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.169e-05/0.6516, allocations: 42.95 kB / 1.147 GB, free: 8.453 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/0.6516, allocations: 21.91 kB / 1.147 GB, free: 8.453 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/0.6529, allocations: 1.095 MB / 1.148 GB, free: 8.184 MB / 1.01 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.002826/0.6557, allocations: 2.314 MB / 1.15 GB, free: 6.848 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.6569, allocations: 0.8411 MB / 1.151 GB, free: 6.52 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003919/0.6573, allocations: 315.9 kB / 1.151 GB, free: 6.398 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.338e-05/0.6573, allocations: 25.95 kB / 1.151 GB, free: 6.395 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006872/0.658, allocations: 0.636 MB / 1.152 GB, free: 6.043 MB / 1.01 GB Notification: Performance of pre-optimization done (n=93): time 2.685e-06/0.658, allocations: 0 / 1.152 GB, free: 6.043 MB / 1.01 GB Notification: Performance of matching and sorting (n=93): time 0.001993/0.66, allocations: 1.203 MB / 1.153 GB, free: 5.613 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.651e-05/0.6601, allocations: 201 kB / 1.153 GB, free: 5.391 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006089/0.6607, allocations: 0.6321 MB / 1.154 GB, free: 5.105 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.938e-05/0.6608, allocations: 57.5 kB / 1.154 GB, free: 5.051 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002548/0.661, allocations: 418.6 kB / 1.154 GB, free: 4.727 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/0.6612, allocations: 314.3 kB / 1.155 GB, free: 4.477 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.6614, allocations: 184 kB / 1.155 GB, free: 4.395 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.6616, allocations: 399.8 kB / 1.155 GB, free: 4.039 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004069/0.662, allocations: 308 kB / 1.156 GB, free: 3.926 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005317/0.6625, allocations: 0.5239 MB / 1.156 GB, free: 3.598 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008188/0.6633, allocations: 0.6715 MB / 1.157 GB, free: 3.285 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.6633, allocations: 1.094 kB / 1.157 GB, free: 3.285 MB / 1.01 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001318/0.6646, allocations: 0.9507 MB / 1.158 GB, free: 2.906 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.6647, allocations: 10.66 kB / 1.158 GB, free: 2.902 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.6647, allocations: 1.5 kB / 1.158 GB, free: 2.902 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003127/0.665, allocations: 80.55 kB / 1.158 GB, free: 2.887 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004065/0.6654, allocations: 187.9 kB / 1.158 GB, free: 2.863 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/0.667, allocations: 1.504 MB / 1.159 GB, free: 1.484 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003848/0.6674, allocations: 95.78 kB / 1.16 GB, free: 1.438 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-05/0.6674, allocations: 40.47 kB / 1.16 GB, free: 1.43 MB / 1.01 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.0003038/0.6677, allocations: 282.7 kB / 1.16 GB, free: 1.219 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.6678, allocations: 96.91 kB / 1.16 GB, free: 1.164 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/0.6693, allocations: 1.113 MB / 1.161 GB, free: 0.7344 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.6694, allocations: 10.22 kB / 1.161 GB, free: 0.7344 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.6694, allocations: 4.844 kB / 1.161 GB, free: 0.7344 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.6694, allocations: 9.844 kB / 1.161 GB, free: 0.7305 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002436/0.6718, allocations: 1.95 MB / 1.163 GB, free: 15.78 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.6718, allocations: 0 / 1.163 GB, free: 15.78 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003554/0.6722, allocations: 161.9 kB / 1.163 GB, free: 15.77 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002213/0.6724, allocations: 74.11 kB / 1.163 GB, free: 15.75 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.817e-05/0.6724, allocations: 29.56 kB / 1.163 GB, free: 15.73 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.6735, allocations: 1.516 MB / 1.165 GB, free: 14.35 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6735, allocations: 0 / 1.165 GB, free: 14.35 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/0.6753, allocations: 1.485 MB / 1.166 GB, free: 13.69 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002797/0.6756, allocations: 205.8 kB / 1.166 GB, free: 13.57 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.623e-05/0.6757, allocations: 31.84 kB / 1.166 GB, free: 13.55 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003212/0.676, allocations: 65.97 kB / 1.166 GB, free: 13.54 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.6761, allocations: 79.53 kB / 1.167 GB, free: 13.52 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.434e-05/0.6762, allocations: 38.47 kB / 1.167 GB, free: 13.51 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0004311/0.6766, allocations: 452.6 kB / 1.167 GB, free: 13.32 MB / 1.026 GB Notification: Performance of sort global known variables: time 5.1e-08/0.6766, allocations: 3.938 kB / 1.167 GB, free: 13.31 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0007929/0.6774, allocations: 354.9 kB / 1.167 GB, free: 13.21 MB / 1.026 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.001069/0.6785, allocations: 0.6601 MB / 1.168 GB, free: 12.96 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.001179/0.6796, allocations: 0.8714 MB / 1.169 GB, free: 12.61 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.6796, allocations: 0 / 1.169 GB, free: 12.61 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.000585/0.6802, allocations: 0.51 MB / 1.169 GB, free: 12.37 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007721/0.681, allocations: 297.4 kB / 1.17 GB, free: 12.27 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/0.6835, allocations: 1.924 MB / 1.171 GB, free: 11.27 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/0.6839, allocations: 459.9 kB / 1.172 GB, free: 11.14 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000235/0.6841, allocations: 128.6 kB / 1.172 GB, free: 11.11 MB / 1.026 GB Notification: Performance of SimCode: time 7.52e-07/0.6841, allocations: 4 kB / 1.172 GB, free: 11.11 MB / 1.026 GB Notification: Performance of Templates: time 0.01971/0.7038, allocations: 20.02 MB / 1.192 GB, free: 4.125 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 -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: 9.001581598073244]