Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001373/0.001373, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001543/0.001543, allocations: 212.5 kB / 22.99 MB, free: 4.957 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.489/1.489, allocations: 230.6 MB / 256.8 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.158/3.158, allocations: 0.49 GB / 0.7959 GB, free: 35.38 MB / 0.6231 GB " [Timeout remaining time 177] 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.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") [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.002034/0.002034, allocations: 75.66 kB / 1.155 GB, free: 24.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3317, allocations: 176.1 MB / 1.327 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.007093/0.3388, allocations: 4.519 MB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1722/0.511, allocations: 132.7 MB / 1.461 GB, free: 7.184 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008595/0.5119, allocations: 23.81 kB / 1.461 GB, free: 7.16 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006798/0.5125, allocations: 198.2 kB / 1.461 GB, free: 6.965 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001933/0.5145, allocations: 0.5633 MB / 1.462 GB, free: 6.402 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002076/0.5165, allocations: 0.8659 MB / 1.463 GB, free: 5.543 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001694/0.5182, allocations: 1.389 MB / 1.464 GB, free: 4.148 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007802/0.519, allocations: 410 kB / 1.464 GB, free: 3.723 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008437/0.5199, allocations: 0.5022 MB / 1.465 GB, free: 3.219 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007916/0.5206, allocations: 0.5017 MB / 1.465 GB, free: 2.715 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002108/0.5209, allocations: 120 kB / 1.465 GB, free: 2.598 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.5222, allocations: 0.4918 MB / 1.466 GB, free: 2.105 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003876/0.5226, allocations: 299 kB / 1.466 GB, free: 1.812 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005363/0.5231, allocations: 469.6 kB / 1.467 GB, free: 1.352 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002831/0.526, allocations: 1.677 MB / 1.468 GB, free: 15.67 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.526, allocations: 0 / 1.468 GB, free: 15.67 MB / 1.17 GB Notification: Performance of FrontEnd: time 4.939e-06/0.526, allocations: 0 / 1.468 GB, free: 15.67 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.849e-05/0.526, allocations: 0 / 1.468 GB, free: 15.67 MB / 1.17 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.003168/0.5291, allocations: 1.411 MB / 1.47 GB, free: 14.22 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.5292, allocations: 12.03 kB / 1.47 GB, free: 14.21 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001586/0.5308, allocations: 228 kB / 1.47 GB, free: 13.99 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.5322, allocations: 0.7143 MB / 1.471 GB, free: 13.25 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.954e-05/0.5323, allocations: 66 kB / 1.471 GB, free: 13.18 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.5324, allocations: 80 kB / 1.471 GB, free: 13.1 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/0.5343, allocations: 1.162 MB / 1.472 GB, free: 11.84 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.5343, allocations: 0 / 1.472 GB, free: 11.84 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.5344, allocations: 36 kB / 1.472 GB, free: 11.8 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/0.5344, allocations: 20 kB / 1.472 GB, free: 11.78 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001837/0.5363, allocations: 1.05 MB / 1.473 GB, free: 10.73 MB / 1.17 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.003983/0.5403, allocations: 2.167 MB / 1.475 GB, free: 8.508 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.5418, allocations: 0.7325 MB / 1.476 GB, free: 7.762 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005327/0.5423, allocations: 274.7 kB / 1.476 GB, free: 7.492 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.895e-05/0.5424, allocations: 20.64 kB / 1.476 GB, free: 7.473 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009638/0.5433, allocations: 0.5802 MB / 1.477 GB, free: 6.848 MB / 1.17 GB Notification: Performance of pre-optimization done (n=78): time 2.935e-06/0.5433, allocations: 0 / 1.477 GB, free: 6.848 MB / 1.17 GB Notification: Performance of matching and sorting (n=78): time 0.00331/0.5467, allocations: 1.099 MB / 1.478 GB, free: 5.742 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.5468, allocations: 196.6 kB / 1.478 GB, free: 5.504 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008412/0.5476, allocations: 0.6096 MB / 1.479 GB, free: 4.887 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.724e-05/0.5477, allocations: 45.7 kB / 1.479 GB, free: 4.836 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003591/0.5481, allocations: 409 kB / 1.479 GB, free: 4.43 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002361/0.5483, allocations: 265.7 kB / 1.479 GB, free: 4.168 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002675/0.5486, allocations: 170.5 kB / 1.479 GB, free: 3.996 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002066/0.5488, allocations: 386.7 kB / 1.48 GB, free: 3.609 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005455/0.5493, allocations: 265.8 kB / 1.48 GB, free: 3.348 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007225/0.55, allocations: 488.5 kB / 1.48 GB, free: 2.824 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.5512, allocations: 0.6042 MB / 1.481 GB, free: 2.207 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.5512, allocations: 0 / 1.481 GB, free: 2.207 MB / 1.17 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002147/0.5533, allocations: 0.8414 MB / 1.482 GB, free: 1.355 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.5534, allocations: 4 kB / 1.482 GB, free: 1.352 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.5534, allocations: 4 kB / 1.482 GB, free: 1.348 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006586/0.554, allocations: 92.81 kB / 1.482 GB, free: 1.254 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006961/0.5547, allocations: 155.8 kB / 1.482 GB, free: 1.102 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002252/0.557, allocations: 1.508 MB / 1.484 GB, free: 15.48 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007701/0.5578, allocations: 93.34 kB / 1.484 GB, free: 15.39 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-05/0.5578, allocations: 31.98 kB / 1.484 GB, free: 15.36 MB / 1.186 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.0004787/0.5583, allocations: 277.8 kB / 1.484 GB, free: 15.07 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/0.5585, allocations: 87.42 kB / 1.484 GB, free: 14.99 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002477/0.561, allocations: 1.038 MB / 1.485 GB, free: 13.94 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.561, allocations: 12 kB / 1.485 GB, free: 13.93 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.561, allocations: 0 / 1.485 GB, free: 13.93 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.988e-06/0.561, allocations: 3.984 kB / 1.485 GB, free: 13.93 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008874/0.5619, allocations: 0.6302 MB / 1.486 GB, free: 13.27 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.5619, allocations: 0 / 1.486 GB, free: 13.27 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006223/0.5625, allocations: 143.8 kB / 1.486 GB, free: 13.12 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004896/0.563, allocations: 72.78 kB / 1.486 GB, free: 13.05 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-05/0.5631, allocations: 27.97 kB / 1.486 GB, free: 13.02 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00203/0.5651, allocations: 1.524 MB / 1.487 GB, free: 11.39 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5651, allocations: 4.062 kB / 1.487 GB, free: 11.39 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00208/0.5672, allocations: 0.9166 MB / 1.488 GB, free: 10.45 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004245/0.5676, allocations: 195.1 kB / 1.488 GB, free: 10.26 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.5677, allocations: 23.94 kB / 1.489 GB, free: 10.23 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006335/0.5683, allocations: 63.92 kB / 1.489 GB, free: 10.17 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.5685, allocations: 68.86 kB / 1.489 GB, free: 10.11 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.241e-05/0.5686, allocations: 35.98 kB / 1.489 GB, free: 10.07 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0005712/0.5691, allocations: 443 kB / 1.489 GB, free: 9.641 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5691, allocations: 0 / 1.489 GB, free: 9.641 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008747/0.57, allocations: 327.1 kB / 1.489 GB, free: 9.32 MB / 1.186 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.002042/0.5721, allocations: 0.6436 MB / 1.49 GB, free: 8.883 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00169/0.5737, allocations: 0.7924 MB / 1.491 GB, free: 8.078 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.5738, allocations: 0 / 1.491 GB, free: 8.078 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009739/0.5747, allocations: 488.2 kB / 1.491 GB, free: 7.594 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.5759, allocations: 300.5 kB / 1.492 GB, free: 7.32 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003055/0.5789, allocations: 1.694 MB / 1.493 GB, free: 5.598 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/0.5794, allocations: 442.3 kB / 1.494 GB, free: 5.133 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0007616/0.5801, allocations: 258.5 kB / 1.494 GB, free: 4.875 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002744/0.5804, allocations: 111.4 kB / 1.494 GB, free: 4.766 MB / 1.186 GB Notification: Performance of SimCode: time 8.22e-07/0.5804, allocations: 0 / 1.494 GB, free: 4.766 MB / 1.186 GB Notification: Performance of Templates: time 0.02935/0.6098, allocations: 16.41 MB / 1.51 GB, free: 4.613 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.599093483004253]