Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001965/0.001965, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00253/0.00253, allocations: 213.3 kB / 22.24 MB, free: 5.262 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.219/3.219, allocations: 0.4892 GB / 0.7943 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zon.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003038/0.003038, allocations: 67.27 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.405, allocations: 176.1 MB / 1.326 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1931/0.5981, allocations: 146.3 MB / 1.468 GB, free: 15 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01345/0.6116, allocations: 7.527 MB / 1.476 GB, free: 7.449 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.6132, allocations: 43.69 kB / 1.476 GB, free: 7.406 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001467/0.6147, allocations: 412.9 kB / 1.476 GB, free: 7 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004293/0.619, allocations: 1.375 MB / 1.478 GB, free: 5.625 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003286/0.6222, allocations: 1.198 MB / 1.479 GB, free: 4.434 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003506/0.6258, allocations: 2.395 MB / 1.481 GB, free: 2.031 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001725/0.6275, allocations: 0.9642 MB / 1.482 GB, free: 1.043 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001582/0.6291, allocations: 0.8914 MB / 1.483 GB, free: 152 kB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001754/0.6308, allocations: 0.7615 MB / 1.484 GB, free: 15.39 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002884/0.6311, allocations: 152 kB / 1.484 GB, free: 15.24 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002217/0.6333, allocations: 1.014 MB / 1.485 GB, free: 14.22 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004742/0.6338, allocations: 446.6 kB / 1.485 GB, free: 13.79 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007777/0.6346, allocations: 0.6415 MB / 1.486 GB, free: 13.14 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003938/0.6385, allocations: 2.456 MB / 1.488 GB, free: 10.68 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.6385, allocations: 0 / 1.488 GB, free: 10.68 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6385, allocations: 0 / 1.488 GB, free: 10.68 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.6e-05/0.6385, allocations: 0 / 1.488 GB, free: 10.68 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003725/0.6423, allocations: 1.875 MB / 1.49 GB, free: 8.758 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.6423, allocations: 8.031 kB / 1.49 GB, free: 8.75 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002393/0.6447, allocations: 378.6 kB / 1.49 GB, free: 8.379 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/0.6466, allocations: 0.9589 MB / 1.491 GB, free: 7.383 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.516e-05/0.6467, allocations: 86.2 kB / 1.491 GB, free: 7.297 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/0.6468, allocations: 108 kB / 1.492 GB, free: 7.191 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002486/0.6493, allocations: 1.52 MB / 1.493 GB, free: 5.516 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.392e-05/0.6493, allocations: 7.938 kB / 1.493 GB, free: 5.508 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/0.6495, allocations: 48 kB / 1.493 GB, free: 5.461 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-05/0.6495, allocations: 42.06 kB / 1.493 GB, free: 5.418 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002299/0.6518, allocations: 1.261 MB / 1.494 GB, free: 4.148 MB / 1.186 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.00558/0.6574, allocations: 2.749 MB / 1.497 GB, free: 1.336 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001941/0.6593, allocations: 0.9453 MB / 1.498 GB, free: 392 kB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006861/0.66, allocations: 363.7 kB / 1.498 GB, free: 28 kB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/0.6601, allocations: 33.02 kB / 1.498 GB, free: 15.99 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001216/0.6614, allocations: 0.7873 MB / 1.499 GB, free: 15.14 MB / 1.201 GB Notification: Performance of pre-optimization done (n=102): time 3.045e-06/0.6614, allocations: 0 / 1.499 GB, free: 15.14 MB / 1.201 GB Notification: Performance of matching and sorting (n=102): time 0.003887/0.6653, allocations: 1.372 MB / 1.5 GB, free: 13.76 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/0.6654, allocations: 188.9 kB / 1.501 GB, free: 13.53 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/0.6667, allocations: 0.8101 MB / 1.501 GB, free: 12.71 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 9.433e-05/0.6667, allocations: 49.7 kB / 1.501 GB, free: 12.65 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005352/0.6673, allocations: 0.5363 MB / 1.502 GB, free: 12.11 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003608/0.6676, allocations: 361 kB / 1.502 GB, free: 11.75 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000317/0.668, allocations: 202.5 kB / 1.503 GB, free: 11.55 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.6681, allocations: 345.9 kB / 1.503 GB, free: 11.21 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006825/0.6688, allocations: 337.8 kB / 1.503 GB, free: 10.88 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009145/0.6697, allocations: 0.5944 MB / 1.504 GB, free: 10.21 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.6713, allocations: 0.7971 MB / 1.505 GB, free: 9.391 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.6713, allocations: 0 / 1.505 GB, free: 9.391 MB / 1.201 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002569/0.6738, allocations: 1.079 MB / 1.506 GB, free: 8.301 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.6739, allocations: 12.03 kB / 1.506 GB, free: 8.289 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.6739, allocations: 0 / 1.506 GB, free: 8.289 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006406/0.6745, allocations: 80.77 kB / 1.506 GB, free: 8.207 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009044/0.6754, allocations: 219.7 kB / 1.506 GB, free: 7.992 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00231/0.6777, allocations: 1.512 MB / 1.507 GB, free: 6.375 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.6789, allocations: 107.4 kB / 1.507 GB, free: 6.27 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.956e-05/0.679, allocations: 43.97 kB / 1.507 GB, free: 6.227 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,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 (124): * Single equations (assignments): 123 * 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.0006637/0.6796, allocations: 321.5 kB / 1.508 GB, free: 5.902 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002688/0.6799, allocations: 111.3 kB / 1.508 GB, free: 5.793 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002917/0.6828, allocations: 1.252 MB / 1.509 GB, free: 4.531 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/0.6828, allocations: 12 kB / 1.509 GB, free: 4.52 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.6828, allocations: 0 / 1.509 GB, free: 4.52 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.6829, allocations: 3.984 kB / 1.509 GB, free: 4.516 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.6842, allocations: 0.8331 MB / 1.51 GB, free: 3.652 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.6842, allocations: 0 / 1.51 GB, free: 3.652 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009084/0.6851, allocations: 211.7 kB / 1.51 GB, free: 3.445 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004554/0.6856, allocations: 72.8 kB / 1.51 GB, free: 3.371 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.8e-05/0.6857, allocations: 35.91 kB / 1.51 GB, free: 3.336 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002078/0.6878, allocations: 1.521 MB / 1.512 GB, free: 1.707 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.6878, allocations: 0 / 1.512 GB, free: 1.707 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003448/0.6912, allocations: 1.578 MB / 1.513 GB, free: 112 kB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007181/0.6919, allocations: 247 kB / 1.514 GB, free: 15.86 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.6921, allocations: 24 kB / 1.514 GB, free: 15.84 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008444/0.6929, allocations: 75.86 kB / 1.514 GB, free: 15.77 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000186/0.6931, allocations: 88.78 kB / 1.514 GB, free: 15.68 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.981e-05/0.6932, allocations: 47.91 kB / 1.514 GB, free: 15.63 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008891/0.6941, allocations: 0.5576 MB / 1.514 GB, free: 15.08 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.6941, allocations: 0 / 1.514 GB, free: 15.08 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001236/0.6953, allocations: 446.9 kB / 1.515 GB, free: 14.64 MB / 1.217 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002292/0.6976, allocations: 0.6566 MB / 1.515 GB, free: 14.19 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002261/0.6999, allocations: 0.9522 MB / 1.516 GB, free: 13.22 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.6999, allocations: 7.938 kB / 1.516 GB, free: 13.21 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.701, allocations: 0.5788 MB / 1.517 GB, free: 12.62 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002054/0.7031, allocations: 477.3 kB / 1.517 GB, free: 12.18 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005015/0.7081, allocations: 2.495 MB / 1.52 GB, free: 9.652 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007515/0.7088, allocations: 0.5751 MB / 1.52 GB, free: 9.047 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001319/0.7102, allocations: 324.9 kB / 1.521 GB, free: 8.727 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003906/0.7106, allocations: 131.4 kB / 1.521 GB, free: 8.598 MB / 1.217 GB Notification: Performance of SimCode: time 1.853e-06/0.7106, allocations: 0 / 1.521 GB, free: 8.598 MB / 1.217 GB Notification: Performance of Templates: time 0.04208/0.7526, allocations: 22.98 MB / 1.543 GB, free: 2.035 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.16181494295597]