Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.001422/0.001422, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001611/0.001611, allocations: 157.7 kB / 22.75 MB, free: 1.68 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 1.493/1.493, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 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 3.218/3.218, allocations: 429.6 MB / 0.673 GB, free: 3.875 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0.6562 kB / 0.8776 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.962e-05/3.149e-05, allocations: 4.469 kB / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.2121/0.2121, allocations: 146.3 MB / 1.02 GB, free: 3.668 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01437/0.2265, allocations: 7.545 MB / 1.028 GB, free: 12.1 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001377/0.2279, allocations: 43.69 kB / 1.028 GB, free: 12.06 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001333/0.2292, allocations: 396.8 kB / 1.028 GB, free: 11.67 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.004126/0.2333, allocations: 1.418 MB / 1.03 GB, free: 10.24 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003161/0.2365, allocations: 1.215 MB / 1.031 GB, free: 9.023 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.003891/0.2404, allocations: 2.487 MB / 1.033 GB, free: 6.527 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002036/0.2424, allocations: 1.019 MB / 1.034 GB, free: 5.484 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002659/0.2451, allocations: 1.243 MB / 1.035 GB, free: 4.238 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002033/0.2471, allocations: 0.6871 MB / 1.036 GB, free: 3.562 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0004238/0.2475, allocations: 160 kB / 1.036 GB, free: 3.406 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002725/0.2502, allocations: 1.041 MB / 1.037 GB, free: 2.363 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0006805/0.2509, allocations: 462.4 kB / 1.038 GB, free: 1.91 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001152/0.2521, allocations: 0.5339 MB / 1.038 GB, free: 1.375 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.004849/0.2569, allocations: 2.601 MB / 1.041 GB, free: 14.77 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2569, allocations: 0 / 1.041 GB, free: 14.77 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2569, allocations: 0 / 1.041 GB, free: 14.77 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.03e-05/0.257, allocations: 0 / 1.041 GB, free: 14.77 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: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.004951/0.262, allocations: 1.887 MB / 1.043 GB, free: 12.83 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.262, allocations: 12.03 kB / 1.043 GB, free: 12.82 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002953/0.265, allocations: 0.5019 MB / 1.043 GB, free: 12.32 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002303/0.2673, allocations: 1.01 MB / 1.044 GB, free: 11.28 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.2674, allocations: 86.23 kB / 1.044 GB, free: 11.19 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002733/0.2676, allocations: 132 kB / 1.044 GB, free: 11.06 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003008/0.2707, allocations: 1.544 MB / 1.046 GB, free: 9.363 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.281e-05/0.2707, allocations: 0 / 1.046 GB, free: 9.363 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001487/0.2708, allocations: 51.98 kB / 1.046 GB, free: 9.312 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.524e-05/0.2709, allocations: 38.17 kB / 1.046 GB, free: 9.273 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002563/0.2735, allocations: 1.265 MB / 1.047 GB, free: 8 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.007247/0.2807, allocations: 2.947 MB / 1.05 GB, free: 4.992 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002253/0.283, allocations: 0.9815 MB / 1.051 GB, free: 4.008 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008304/0.2838, allocations: 385.1 kB / 1.051 GB, free: 3.629 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/0.2839, allocations: 40.97 kB / 1.051 GB, free: 3.59 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001441/0.2853, allocations: 0.8069 MB / 1.052 GB, free: 2.715 MB / 1.01 GB Notification: Performance of pre-optimization done (n=110): time 4.048e-06/0.2853, allocations: 0 / 1.052 GB, free: 2.715 MB / 1.01 GB Notification: Performance of matching and sorting (n=110): time 0.004476/0.2898, allocations: 1.445 MB / 1.054 GB, free: 1.262 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001659/0.29, allocations: 200.9 kB / 1.054 GB, free: 1.023 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/0.2914, allocations: 0.8101 MB / 1.055 GB, free: 212 kB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001336/0.2916, allocations: 53.64 kB / 1.055 GB, free: 152 kB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.4483/0.7399, allocations: 0.5347 MB / 1.055 GB, free: 219.7 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004061/0.7403, allocations: 375.6 kB / 1.056 GB, free: 219.6 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003359/0.7406, allocations: 218.2 kB / 1.056 GB, free: 219.5 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.814e-05/0.7407, allocations: 352.1 kB / 1.056 GB, free: 219.2 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000666/0.7414, allocations: 363.5 kB / 1.056 GB, free: 219.1 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007379/0.7421, allocations: 0.6235 MB / 1.057 GB, free: 218.7 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/0.7434, allocations: 0.8461 MB / 1.058 GB, free: 218.3 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.7434, allocations: 4.312 kB / 1.058 GB, free: 218.3 MB / 1.01 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002548/0.7459, allocations: 1.194 MB / 1.059 GB, free: 217.9 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.7459, allocations: 10.28 kB / 1.059 GB, free: 217.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.746, allocations: 6.062 kB / 1.059 GB, free: 217.9 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009827/0.7469, allocations: 137.2 kB / 1.059 GB, free: 217.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008978/0.7478, allocations: 221.3 kB / 1.059 GB, free: 217.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001865/0.7497, allocations: 1.51 MB / 1.061 GB, free: 216.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.7508, allocations: 109.6 kB / 1.061 GB, free: 216.4 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.247e-05/0.7509, allocations: 53.61 kB / 1.061 GB, free: 216.4 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (137): * Single equations (assignments): 136 * 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.00057/0.7515, allocations: 327.4 kB / 1.061 GB, free: 216.2 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002552/0.7517, allocations: 154.4 kB / 1.061 GB, free: 216.1 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002505/0.7543, allocations: 1.27 MB / 1.063 GB, free: 215.6 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.7543, allocations: 12 kB / 1.063 GB, free: 215.6 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.7543, allocations: 0.875 kB / 1.063 GB, free: 215.6 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.7543, allocations: 9.391 kB / 1.063 GB, free: 215.6 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003736/0.758, allocations: 2.269 MB / 1.065 GB, free: 214.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.758, allocations: 0 / 1.065 GB, free: 214.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000852/0.7589, allocations: 209.3 kB / 1.065 GB, free: 214.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007407/0.7596, allocations: 127.6 kB / 1.065 GB, free: 214.6 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.567e-05/0.7597, allocations: 35.05 kB / 1.065 GB, free: 214.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/0.7613, allocations: 1.525 MB / 1.067 GB, free: 213.2 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.7613, allocations: 0 / 1.067 GB, free: 213.2 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003032/0.7643, allocations: 1.728 MB / 1.068 GB, free: 212.4 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005851/0.7649, allocations: 262.2 kB / 1.069 GB, free: 212.3 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002261/0.7651, allocations: 26.75 kB / 1.069 GB, free: 212.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000963/0.7661, allocations: 69.92 kB / 1.069 GB, free: 212.3 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/0.7663, allocations: 89.73 kB / 1.069 GB, free: 212.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.663e-05/0.7664, allocations: 45.77 kB / 1.069 GB, free: 212.2 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0007487/0.7671, allocations: 0.5595 MB / 1.07 GB, free: 212 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.7671, allocations: 0 / 1.07 GB, free: 212 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001236/0.7684, allocations: 455.2 kB / 1.07 GB, free: 211.9 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (120): * Single equations (assignments): 109 * 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.002473/0.7708, allocations: 0.6741 MB / 1.071 GB, free: 211.8 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001978/0.7728, allocations: 1.013 MB / 1.072 GB, free: 211.4 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.7728, allocations: 0 / 1.072 GB, free: 211.4 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0009479/0.7738, allocations: 0.583 MB / 1.072 GB, free: 211.1 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002063/0.7758, allocations: 0.5114 MB / 1.073 GB, free: 211 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004019/0.7798, allocations: 2.424 MB / 1.075 GB, free: 209.7 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006027/0.7804, allocations: 0.5756 MB / 1.076 GB, free: 209.6 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001035/0.7815, allocations: 319.3 kB / 1.076 GB, free: 209.5 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003813/0.7819, allocations: 135.9 kB / 1.076 GB, free: 209.5 MB / 1.01 GB Notification: Performance of SimCode: time 7.72e-07/0.7819, allocations: 0 / 1.076 GB, free: 209.5 MB / 1.01 GB Notification: Performance of Templates: time 0.03789/0.8198, allocations: 21.93 MB / 1.097 GB, free: 206.8 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.864458911004476]