Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 197.9 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.758/2.758, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 67.89 kB / 1.109 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7531/0.7552, allocations: 168.7 MB / 1.274 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.007068/0.7622, allocations: 4.992 MB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1762/0.9384, allocations: 151.2 MB / 1.427 GB, free: 7.773 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008449/0.9393, allocations: 15.94 kB / 1.427 GB, free: 7.758 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0008494/0.9401, allocations: 194.1 kB / 1.427 GB, free: 7.566 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002068/0.9422, allocations: 0.5599 MB / 1.427 GB, free: 7.008 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002182/0.9444, allocations: 0.8406 MB / 1.428 GB, free: 6.172 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001887/0.9463, allocations: 1.373 MB / 1.429 GB, free: 4.793 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008837/0.9471, allocations: 410.9 kB / 1.43 GB, free: 4.371 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008292/0.948, allocations: 490.4 kB / 1.43 GB, free: 3.891 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008468/0.9488, allocations: 0.4939 MB / 1.431 GB, free: 3.395 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002666/0.9491, allocations: 112 kB / 1.431 GB, free: 3.285 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.9502, allocations: 487.5 kB / 1.431 GB, free: 2.809 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003662/0.9506, allocations: 283.1 kB / 1.432 GB, free: 2.531 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0007276/0.9513, allocations: 0.5558 MB / 1.432 GB, free: 1.973 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002132/0.9534, allocations: 1.626 MB / 1.434 GB, free: 348 kB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.9534, allocations: 0 / 1.434 GB, free: 348 kB / 1.123 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9534, allocations: 0 / 1.434 GB, free: 348 kB / 1.123 GB Notification: Performance of Transformations before backend: time 1.911e-05/0.9535, allocations: 0 / 1.434 GB, free: 348 kB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002671/0.9561, allocations: 1.46 MB / 1.435 GB, free: 14.82 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.9562, allocations: 15.97 kB / 1.435 GB, free: 14.8 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009835/0.9572, allocations: 192.1 kB / 1.435 GB, free: 14.62 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.9584, allocations: 0.7545 MB / 1.436 GB, free: 13.82 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-05/0.9585, allocations: 73.98 kB / 1.436 GB, free: 13.75 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.9586, allocations: 76 kB / 1.436 GB, free: 13.67 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.9602, allocations: 0.9114 MB / 1.437 GB, free: 12.71 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.9603, allocations: 0 / 1.437 GB, free: 12.71 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-05/0.9603, allocations: 44 kB / 1.437 GB, free: 12.67 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.9604, allocations: 20 kB / 1.437 GB, free: 12.65 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001867/0.9622, allocations: 1.097 MB / 1.438 GB, free: 11.56 MB / 1.139 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.004247/0.9665, allocations: 2.745 MB / 1.441 GB, free: 8.691 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.968, allocations: 0.731 MB / 1.442 GB, free: 7.961 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00053/0.9685, allocations: 282.5 kB / 1.442 GB, free: 7.684 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 9.426e-05/0.9686, allocations: 32.59 kB / 1.442 GB, free: 7.648 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008655/0.9695, allocations: 490.7 kB / 1.442 GB, free: 7.156 MB / 1.139 GB Notification: Performance of pre-optimization done (n=78): time 3.937e-06/0.9695, allocations: 3.984 kB / 1.442 GB, free: 7.152 MB / 1.139 GB Notification: Performance of matching and sorting (n=78): time 0.003451/0.9729, allocations: 1.179 MB / 1.444 GB, free: 5.945 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001638/0.9731, allocations: 192.6 kB / 1.444 GB, free: 5.715 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009314/0.974, allocations: 0.6332 MB / 1.444 GB, free: 5.074 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.804e-05/0.9741, allocations: 41.7 kB / 1.444 GB, free: 5.027 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000392/0.9745, allocations: 405 kB / 1.445 GB, free: 4.625 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/0.9747, allocations: 277.6 kB / 1.445 GB, free: 4.352 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002782/0.975, allocations: 158.6 kB / 1.445 GB, free: 4.191 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002197/0.9752, allocations: 386.7 kB / 1.446 GB, free: 3.805 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005672/0.9758, allocations: 265.9 kB / 1.446 GB, free: 3.547 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006957/0.9765, allocations: 364 kB / 1.446 GB, free: 3.172 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.9777, allocations: 0.608 MB / 1.447 GB, free: 2.551 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.9777, allocations: 0 / 1.447 GB, free: 2.551 MB / 1.139 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002125/0.9798, allocations: 0.8453 MB / 1.448 GB, free: 1.695 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.9799, allocations: 4 kB / 1.448 GB, free: 1.691 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.9799, allocations: 0 / 1.448 GB, free: 1.691 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00065/0.9805, allocations: 84.89 kB / 1.448 GB, free: 1.605 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006929/0.9812, allocations: 159.7 kB / 1.448 GB, free: 1.449 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002312/0.9835, allocations: 1.625 MB / 1.449 GB, free: 15.68 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007606/0.9843, allocations: 95.62 kB / 1.45 GB, free: 15.59 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.539e-05/0.9844, allocations: 39.97 kB / 1.45 GB, free: 15.55 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (93): * Single equations (assignments): 92 * 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.0004596/0.9848, allocations: 271.5 kB / 1.45 GB, free: 15.27 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.985, allocations: 87.44 kB / 1.45 GB, free: 15.18 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002436/0.9874, allocations: 1.046 MB / 1.451 GB, free: 14.12 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.9874, allocations: 8 kB / 1.451 GB, free: 14.11 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.9874, allocations: 3.938 kB / 1.451 GB, free: 14.11 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.9875, allocations: 7.984 kB / 1.451 GB, free: 14.1 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.9886, allocations: 0.8802 MB / 1.452 GB, free: 13.17 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.9886, allocations: 4 kB / 1.452 GB, free: 13.16 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006173/0.9892, allocations: 139.8 kB / 1.452 GB, free: 13.03 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004763/0.9897, allocations: 72.78 kB / 1.452 GB, free: 12.95 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.403e-05/0.9897, allocations: 27.92 kB / 1.452 GB, free: 12.93 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/0.9918, allocations: 1.674 MB / 1.454 GB, free: 11.11 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.9918, allocations: 0 / 1.454 GB, free: 11.11 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002067/0.9939, allocations: 0.9166 MB / 1.455 GB, free: 10.17 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004154/0.9943, allocations: 264.2 kB / 1.455 GB, free: 9.895 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.9944, allocations: 20 kB / 1.455 GB, free: 9.875 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006384/0.9951, allocations: 65.73 kB / 1.455 GB, free: 9.812 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.9952, allocations: 76.84 kB / 1.455 GB, free: 9.738 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.32e-05/0.9953, allocations: 39.91 kB / 1.455 GB, free: 9.699 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0005936/0.9959, allocations: 459 kB / 1.455 GB, free: 9.258 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.9959, allocations: 0 / 1.455 GB, free: 9.258 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000848/0.9967, allocations: 323.1 kB / 1.456 GB, free: 8.941 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.001951/0.9987, allocations: 0.5958 MB / 1.456 GB, free: 8.527 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001795/1, allocations: 0.796 MB / 1.457 GB, free: 7.715 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1, allocations: 4 kB / 1.457 GB, free: 7.711 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009506/1.001, allocations: 480.5 kB / 1.458 GB, free: 7.23 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/1.003, allocations: 299.8 kB / 1.458 GB, free: 6.957 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003042/1.006, allocations: 1.701 MB / 1.46 GB, free: 5.227 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006503/1.006, allocations: 1.023 MB / 1.461 GB, free: 4.18 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0007329/1.007, allocations: 254.6 kB / 1.461 GB, free: 3.926 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002604/1.007, allocations: 111.3 kB / 1.461 GB, free: 3.816 MB / 1.154 GB Notification: Performance of SimCode: time 5.01e-07/1.007, allocations: 0 / 1.461 GB, free: 3.816 MB / 1.154 GB Notification: Performance of Templates: time 0.02796/1.035, allocations: 15.46 MB / 1.476 GB, free: 4.523 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.250639319885522]