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.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.001994/0.001994, allocations: 84.05 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.002567/0.002567, allocations: 167.2 kB / 22.46 MB, free: 5.359 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.467/1.467, allocations: 177.1 MB / 202.8 MB, free: 9.176 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.901/2.901, allocations: 389 MB / 0.633 GB, free: 1.043 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.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 1 GB, free: 7.352 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.636e-05/2.801e-05, allocations: 6.281 kB / 1 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007552/0.00758, allocations: 4.671 MB / 1.005 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.8023/0.8099, allocations: 132.8 MB / 1.134 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007739/0.8107, allocations: 21.16 kB / 1.134 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005708/0.8113, allocations: 206.2 kB / 1.135 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001664/0.8129, allocations: 0.5903 MB / 1.135 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001734/0.8147, allocations: 0.8812 MB / 1.136 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001375/0.816, allocations: 1.512 MB / 1.137 GB, free: 45.15 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007475/0.8168, allocations: 404.8 kB / 1.138 GB, free: 45.09 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001425/0.8182, allocations: 0.765 MB / 1.139 GB, free: 45.09 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007278/0.8189, allocations: 417.9 kB / 1.139 GB, free: 45.09 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002061/0.8191, allocations: 128.6 kB / 1.139 GB, free: 45.09 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001347/0.8205, allocations: 0.4984 MB / 1.14 GB, free: 45.09 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002892/0.8208, allocations: 319.2 kB / 1.14 GB, free: 45.09 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000481/0.8213, allocations: 412.5 kB / 1.14 GB, free: 45.09 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002048/0.8233, allocations: 1.837 MB / 1.142 GB, free: 44.97 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.8233, allocations: 0.9688 kB / 1.142 GB, free: 44.97 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8233, allocations: 0 / 1.142 GB, free: 44.97 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.364e-05/0.8233, allocations: 0 / 1.142 GB, free: 44.97 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002403/0.8257, allocations: 1.463 MB / 1.144 GB, free: 44.23 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.8258, allocations: 12.05 kB / 1.144 GB, free: 44.23 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00153/0.8273, allocations: 245.8 kB / 1.144 GB, free: 44.16 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.8284, allocations: 0.7346 MB / 1.144 GB, free: 43.9 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.295e-05/0.8285, allocations: 68.22 kB / 1.145 GB, free: 43.9 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.8286, allocations: 95.59 kB / 1.145 GB, free: 43.9 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.8303, allocations: 1.207 MB / 1.146 GB, free: 43.44 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/0.8303, allocations: 0 / 1.146 GB, free: 43.44 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.114e-05/0.8304, allocations: 45.48 kB / 1.146 GB, free: 43.44 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.279e-05/0.8304, allocations: 23.97 kB / 1.146 GB, free: 43.44 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001735/0.8322, allocations: 1.084 MB / 1.147 GB, free: 43.43 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.004074/0.8362, allocations: 2.264 MB / 1.149 GB, free: 42.72 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.8376, allocations: 0.8096 MB / 1.15 GB, free: 42.68 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004717/0.8381, allocations: 302.2 kB / 1.15 GB, free: 42.67 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.357e-05/0.8381, allocations: 27.06 kB / 1.15 GB, free: 42.67 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008151/0.839, allocations: 0.6132 MB / 1.151 GB, free: 42.46 MB / 1.076 GB Notification: Performance of pre-optimization done (n=90): time 2.445e-06/0.839, allocations: 2.656 kB / 1.151 GB, free: 42.46 MB / 1.076 GB Notification: Performance of matching and sorting (n=90): time 0.003152/0.8421, allocations: 1.188 MB / 1.152 GB, free: 42.35 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.51e-05/0.8422, allocations: 202.5 kB / 1.152 GB, free: 42.13 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008057/0.843, allocations: 0.6233 MB / 1.153 GB, free: 42 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.895e-05/0.8431, allocations: 48.55 kB / 1.153 GB, free: 41.97 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003021/0.8434, allocations: 417.7 kB / 1.153 GB, free: 41.77 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/0.8436, allocations: 302.9 kB / 1.154 GB, free: 41.57 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002698/0.8439, allocations: 181.1 kB / 1.154 GB, free: 41.55 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.844, allocations: 385.3 kB / 1.154 GB, free: 41.24 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000727/0.8447, allocations: 299.5 kB / 1.154 GB, free: 41.24 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.8457, allocations: 0.5134 MB / 1.155 GB, free: 41.03 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.8473, allocations: 0.6592 MB / 1.156 GB, free: 40.98 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.8473, allocations: 3.938 kB / 1.156 GB, free: 40.98 MB / 1.076 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.003179/0.8504, allocations: 0.9316 MB / 1.156 GB, free: 40.88 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.8505, allocations: 6.75 kB / 1.156 GB, free: 40.88 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.8505, allocations: 0 / 1.156 GB, free: 40.88 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007539/0.8512, allocations: 84.25 kB / 1.157 GB, free: 40.87 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.8523, allocations: 174.9 kB / 1.157 GB, free: 40.87 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00225/0.8545, allocations: 1.514 MB / 1.158 GB, free: 39.64 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.8558, allocations: 90.91 kB / 1.158 GB, free: 39.61 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.856, allocations: 42.25 kB / 1.158 GB, free: 39.61 MB / 1.076 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 (110): * Single equations (assignments): 109 * 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.0007726/0.8567, allocations: 285.1 kB / 1.159 GB, free: 39.49 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002818/0.857, allocations: 90.69 kB / 1.159 GB, free: 39.45 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003058/0.8601, allocations: 1.091 MB / 1.16 GB, free: 39.35 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.8601, allocations: 9.719 kB / 1.16 GB, free: 39.35 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.8601, allocations: 0.75 kB / 1.16 GB, free: 39.35 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/0.8601, allocations: 5.688 kB / 1.16 GB, free: 39.35 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004429/0.8645, allocations: 1.913 MB / 1.162 GB, free: 38.97 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.8645, allocations: 1.281 kB / 1.162 GB, free: 38.97 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008516/0.8654, allocations: 150.5 kB / 1.162 GB, free: 38.97 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005639/0.8659, allocations: 83.92 kB / 1.162 GB, free: 38.96 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.117e-05/0.866, allocations: 24.89 kB / 1.162 GB, free: 38.96 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001918/0.8679, allocations: 1.524 MB / 1.163 GB, free: 37.74 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.8679, allocations: 0 / 1.163 GB, free: 37.74 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003435/0.8714, allocations: 1.453 MB / 1.165 GB, free: 37.51 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006245/0.872, allocations: 200.8 kB / 1.165 GB, free: 37.46 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/0.8722, allocations: 21.62 kB / 1.165 GB, free: 37.46 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000889/0.8731, allocations: 69.86 kB / 1.165 GB, free: 37.45 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002114/0.8733, allocations: 78.92 kB / 1.165 GB, free: 37.45 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.858e-05/0.8734, allocations: 35.17 kB / 1.165 GB, free: 37.45 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007028/0.8741, allocations: 447.5 kB / 1.166 GB, free: 37.36 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.8741, allocations: 0.9688 kB / 1.166 GB, free: 37.36 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001314/0.8754, allocations: 348.7 kB / 1.166 GB, free: 37.3 MB / 1.076 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 (100): * Single equations (assignments): 89 * 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.002165/0.8775, allocations: 0.6637 MB / 1.167 GB, free: 37.1 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002391/0.8799, allocations: 0.8542 MB / 1.167 GB, free: 36.97 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.8799, allocations: 1.031 kB / 1.167 GB, free: 36.97 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.881, allocations: 0.5033 MB / 1.168 GB, free: 36.86 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/0.8825, allocations: 303.6 kB / 1.168 GB, free: 36.82 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00355/0.886, allocations: 1.789 MB / 1.17 GB, free: 36.13 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005184/0.8865, allocations: 451.2 kB / 1.17 GB, free: 36.02 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0009053/0.8874, allocations: 264.6 kB / 1.171 GB, free: 35.98 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/0.8877, allocations: 111.9 kB / 1.171 GB, free: 35.97 MB / 1.076 GB Notification: Performance of SimCode: time 9.02e-07/0.8877, allocations: 7.719 kB / 1.171 GB, free: 35.97 MB / 1.076 GB Notification: Performance of Templates: time 0.03393/0.9217, allocations: 15.81 MB / 1.186 GB, free: 34.2 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.622206896543503]