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.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.00176/0.00176, allocations: 78.56 kB / 19.18 MB, free: 2.523 MB / 14.72 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.002095/0.002095, allocations: 168.5 kB / 22.46 MB, free: 5.363 MB / 14.72 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 1.47/1.47, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 2.905/2.905, allocations: 389 MB / 0.633 GB, free: 1.008 MB / 0.5919 GB " [Timeout remaining time 176] 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.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 1 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.731e-05/2.879e-05, allocations: 6.219 kB / 1 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006826/0.006855, allocations: 4.512 MB / 1.004 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.8104/0.8173, allocations: 132.7 MB / 1.134 GB, free: 45.24 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008406/0.8181, allocations: 26.44 kB / 1.134 GB, free: 45.24 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005696/0.8187, allocations: 199.4 kB / 1.134 GB, free: 45.24 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0016/0.8203, allocations: 0.5769 MB / 1.135 GB, free: 45.24 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.822, allocations: 0.869 MB / 1.136 GB, free: 45.24 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001215/0.8232, allocations: 1.467 MB / 1.137 GB, free: 45.24 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005824/0.8238, allocations: 388.7 kB / 1.138 GB, free: 45.18 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000754/0.8246, allocations: 0.7366 MB / 1.138 GB, free: 45.18 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004509/0.825, allocations: 410.6 kB / 1.139 GB, free: 45.18 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.8252, allocations: 121 kB / 1.139 GB, free: 45.18 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007706/0.8259, allocations: 0.4883 MB / 1.139 GB, free: 45.17 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000235/0.8262, allocations: 311.3 kB / 1.14 GB, free: 45.17 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003837/0.8266, allocations: 395.2 kB / 1.14 GB, free: 45.17 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001623/0.8282, allocations: 1.793 MB / 1.142 GB, free: 45.06 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.8282, allocations: 0 / 1.142 GB, free: 45.06 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.132e-06/0.8282, allocations: 0.875 kB / 1.142 GB, free: 45.06 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.609e-05/0.8282, allocations: 0 / 1.142 GB, free: 45.06 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002255/0.8305, allocations: 1.421 MB / 1.143 GB, free: 44.33 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.8305, allocations: 9.844 kB / 1.143 GB, free: 44.33 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001405/0.8319, allocations: 237.9 kB / 1.143 GB, free: 44.26 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.833, allocations: 0.7215 MB / 1.144 GB, free: 44.01 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.101e-05/0.833, allocations: 64.03 kB / 1.144 GB, free: 44.01 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.8331, allocations: 90.53 kB / 1.144 GB, free: 44 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.8345, allocations: 1.186 MB / 1.145 GB, free: 43.54 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.8345, allocations: 0.875 kB / 1.145 GB, free: 43.54 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.808e-05/0.8346, allocations: 34.72 kB / 1.145 GB, free: 43.54 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.8346, allocations: 25.34 kB / 1.145 GB, free: 43.54 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/0.8361, allocations: 1.06 MB / 1.146 GB, free: 43.53 MB / 1.076 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.003413/0.8395, allocations: 2.294 MB / 1.149 GB, free: 42.74 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/0.8408, allocations: 0.7734 MB / 1.149 GB, free: 42.7 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000459/0.8413, allocations: 296.9 kB / 1.15 GB, free: 42.7 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.117e-05/0.8413, allocations: 21.09 kB / 1.15 GB, free: 42.7 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007709/0.8421, allocations: 0.6056 MB / 1.15 GB, free: 42.49 MB / 1.076 GB Notification: Performance of pre-optimization done (n=86): time 2.574e-06/0.8421, allocations: 0 / 1.15 GB, free: 42.49 MB / 1.076 GB Notification: Performance of matching and sorting (n=86): time 0.002986/0.8451, allocations: 1.16 MB / 1.151 GB, free: 42.38 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.8451, allocations: 198.8 kB / 1.152 GB, free: 42.16 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006163/0.8458, allocations: 0.6135 MB / 1.152 GB, free: 42.03 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.125e-05/0.8458, allocations: 47.89 kB / 1.152 GB, free: 42 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.8461, allocations: 415.3 kB / 1.153 GB, free: 41.8 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.8462, allocations: 278.9 kB / 1.153 GB, free: 41.62 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002376/0.8464, allocations: 190.4 kB / 1.153 GB, free: 41.59 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.14e-05/0.8465, allocations: 383.5 kB / 1.153 GB, free: 41.28 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005089/0.847, allocations: 293.2 kB / 1.154 GB, free: 41.28 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006041/0.8476, allocations: 0.5091 MB / 1.154 GB, free: 41.07 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.8487, allocations: 0.6452 MB / 1.155 GB, free: 41.01 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.8487, allocations: 3.125 kB / 1.155 GB, free: 41.01 MB / 1.076 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001841/0.8505, allocations: 0.915 MB / 1.156 GB, free: 40.9 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.8505, allocations: 8.5 kB / 1.156 GB, free: 40.9 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.8505, allocations: 2.844 kB / 1.156 GB, free: 40.9 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006171/0.8512, allocations: 82.27 kB / 1.156 GB, free: 40.89 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006373/0.8518, allocations: 168.3 kB / 1.156 GB, free: 40.89 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/0.8535, allocations: 1.507 MB / 1.157 GB, free: 39.67 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006822/0.8542, allocations: 98.3 kB / 1.158 GB, free: 39.64 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.971e-05/0.8542, allocations: 39.02 kB / 1.158 GB, free: 39.64 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (106): * Single equations (assignments): 105 * 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.0003506/0.8546, allocations: 272.7 kB / 1.158 GB, free: 39.52 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.8547, allocations: 87.12 kB / 1.158 GB, free: 39.48 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0021/0.8568, allocations: 1.073 MB / 1.159 GB, free: 39.37 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.8568, allocations: 10.69 kB / 1.159 GB, free: 39.37 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.8568, allocations: 192 / 1.159 GB, free: 39.37 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.8569, allocations: 7.719 kB / 1.159 GB, free: 39.37 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002904/0.8598, allocations: 1.872 MB / 1.161 GB, free: 39 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.8598, allocations: 1 kB / 1.161 GB, free: 39 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005252/0.8603, allocations: 144.1 kB / 1.161 GB, free: 39 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000422/0.8607, allocations: 70.48 kB / 1.161 GB, free: 38.99 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.404e-05/0.8608, allocations: 33.73 kB / 1.161 GB, free: 38.99 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001438/0.8622, allocations: 1.519 MB / 1.163 GB, free: 37.78 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.8622, allocations: 3.594 kB / 1.163 GB, free: 37.78 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.8639, allocations: 1.015 MB / 1.164 GB, free: 37.56 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003086/0.8642, allocations: 201.2 kB / 1.164 GB, free: 37.5 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.8644, allocations: 25.11 kB / 1.164 GB, free: 37.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006325/0.865, allocations: 63.53 kB / 1.164 GB, free: 37.5 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.8652, allocations: 76.89 kB / 1.164 GB, free: 37.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.063e-05/0.8652, allocations: 36.52 kB / 1.164 GB, free: 37.5 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004329/0.8656, allocations: 445 kB / 1.164 GB, free: 37.4 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.8656, allocations: 2.594 kB / 1.164 GB, free: 37.4 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000825/0.8665, allocations: 342 kB / 1.165 GB, free: 37.34 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (96): * Single equations (assignments): 85 * 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.002006/0.8685, allocations: 0.6542 MB / 1.165 GB, free: 37.14 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001466/0.8699, allocations: 0.8324 MB / 1.166 GB, free: 37.01 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.8699, allocations: 6.188 kB / 1.166 GB, free: 37.01 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009374/0.8709, allocations: 496.8 kB / 1.167 GB, free: 36.89 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.8722, allocations: 295.7 kB / 1.167 GB, free: 36.87 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002956/0.8752, allocations: 1.707 MB / 1.169 GB, free: 36.2 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.8756, allocations: 441.3 kB / 1.169 GB, free: 36.09 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0007292/0.8763, allocations: 257.4 kB / 1.169 GB, free: 36.05 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002754/0.8766, allocations: 106.6 kB / 1.169 GB, free: 36.04 MB / 1.076 GB Notification: Performance of SimCode: time 6.11e-07/0.8766, allocations: 0 / 1.169 GB, free: 36.04 MB / 1.076 GB Notification: Performance of Templates: time 0.02895/0.9055, allocations: 15.59 MB / 1.185 GB, free: 34.33 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.65740592777729]