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.001843/0.001843, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.00222/0.00222, allocations: 207.9 kB / 22.99 MB, free: 4.984 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.137/3.137, allocations: 0.49 GB / 0.7959 GB, free: 35.72 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.002071/0.002071, allocations: 66.8 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3144, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006898/0.3213, allocations: 4.509 MB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1648/0.486, allocations: 132.7 MB / 1.461 GB, free: 7.297 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007555/0.4868, allocations: 19.81 kB / 1.461 GB, free: 7.277 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0005988/0.4874, allocations: 202.2 kB / 1.461 GB, free: 7.078 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001711/0.4891, allocations: 0.5609 MB / 1.462 GB, free: 6.52 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001972/0.4911, allocations: 0.8626 MB / 1.463 GB, free: 5.66 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001483/0.4925, allocations: 1.397 MB / 1.464 GB, free: 4.258 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007114/0.4933, allocations: 406 kB / 1.464 GB, free: 3.836 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006243/0.4939, allocations: 0.506 MB / 1.465 GB, free: 3.328 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005875/0.4945, allocations: 0.4939 MB / 1.465 GB, free: 2.832 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.4946, allocations: 116 kB / 1.465 GB, free: 2.719 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009142/0.4955, allocations: 0.4957 MB / 1.466 GB, free: 2.223 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002864/0.4958, allocations: 307 kB / 1.466 GB, free: 1.922 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004493/0.4963, allocations: 461.8 kB / 1.467 GB, free: 1.469 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001998/0.4983, allocations: 1.673 MB / 1.468 GB, free: 15.79 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.4983, allocations: 4 kB / 1.468 GB, free: 15.78 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4983, allocations: 0 / 1.468 GB, free: 15.78 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.435e-05/0.4983, allocations: 0 / 1.468 GB, free: 15.78 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.002687/0.501, allocations: 1.411 MB / 1.47 GB, free: 14.34 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.501, allocations: 8.031 kB / 1.47 GB, free: 14.33 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001542/0.5026, allocations: 232 kB / 1.47 GB, free: 14.11 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.5039, allocations: 0.7143 MB / 1.471 GB, free: 13.36 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.867e-05/0.504, allocations: 58 kB / 1.471 GB, free: 13.3 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.5041, allocations: 87.98 kB / 1.471 GB, free: 13.22 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/0.5059, allocations: 1.162 MB / 1.472 GB, free: 11.95 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.5059, allocations: 3.938 kB / 1.472 GB, free: 11.95 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-05/0.506, allocations: 32 kB / 1.472 GB, free: 11.92 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/0.506, allocations: 20 kB / 1.472 GB, free: 11.9 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001829/0.5078, allocations: 1.054 MB / 1.473 GB, free: 10.84 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.003872/0.5117, allocations: 2.164 MB / 1.475 GB, free: 8.625 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.5132, allocations: 0.7325 MB / 1.476 GB, free: 7.879 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005284/0.5138, allocations: 270.6 kB / 1.476 GB, free: 7.613 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.716e-05/0.5138, allocations: 28.62 kB / 1.476 GB, free: 7.586 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009624/0.5148, allocations: 0.584 MB / 1.477 GB, free: 6.957 MB / 1.17 GB Notification: Performance of pre-optimization done (n=78): time 2.745e-06/0.5148, allocations: 0 / 1.477 GB, free: 6.957 MB / 1.17 GB Notification: Performance of matching and sorting (n=78): time 0.003404/0.5182, allocations: 1.103 MB / 1.478 GB, free: 5.848 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.5183, allocations: 192.6 kB / 1.478 GB, free: 5.613 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008189/0.5191, allocations: 0.6134 MB / 1.479 GB, free: 4.992 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.945e-05/0.5192, allocations: 41.7 kB / 1.479 GB, free: 4.945 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003572/0.5196, allocations: 413 kB / 1.479 GB, free: 4.535 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002319/0.5198, allocations: 261.8 kB / 1.479 GB, free: 4.277 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002698/0.5201, allocations: 166.5 kB / 1.479 GB, free: 4.109 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001964/0.5203, allocations: 390.7 kB / 1.48 GB, free: 3.719 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005531/0.5208, allocations: 265.9 kB / 1.48 GB, free: 3.457 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007365/0.5216, allocations: 492.5 kB / 1.48 GB, free: 2.93 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.5227, allocations: 0.6002 MB / 1.481 GB, free: 2.316 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.5227, allocations: 4 kB / 1.481 GB, free: 2.312 MB / 1.17 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002197/0.5249, allocations: 0.8414 MB / 1.482 GB, free: 1.461 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.525, allocations: 4 kB / 1.482 GB, free: 1.457 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.525, allocations: 0 / 1.482 GB, free: 1.457 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007345/0.5257, allocations: 84.89 kB / 1.482 GB, free: 1.371 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000713/0.5264, allocations: 163.7 kB / 1.482 GB, free: 1.211 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/0.5287, allocations: 1.508 MB / 1.484 GB, free: 15.59 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007353/0.5294, allocations: 81.41 kB / 1.484 GB, free: 15.51 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.004e-05/0.5295, allocations: 44.03 kB / 1.484 GB, free: 15.46 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.0004352/0.53, allocations: 265.4 kB / 1.484 GB, free: 15.2 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.5301, allocations: 91.36 kB / 1.484 GB, free: 15.11 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002581/0.5327, allocations: 1.05 MB / 1.485 GB, free: 14.05 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.5327, allocations: 8 kB / 1.485 GB, free: 14.04 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.5327, allocations: 0 / 1.485 GB, free: 14.04 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.5327, allocations: 3.984 kB / 1.485 GB, free: 14.04 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008954/0.5336, allocations: 0.6341 MB / 1.486 GB, free: 13.37 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.5336, allocations: 0 / 1.486 GB, free: 13.37 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006151/0.5342, allocations: 139.8 kB / 1.486 GB, free: 13.23 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000509/0.5347, allocations: 76.72 kB / 1.486 GB, free: 13.16 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.892e-05/0.5348, allocations: 23.98 kB / 1.486 GB, free: 13.13 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002072/0.5369, allocations: 1.52 MB / 1.487 GB, free: 11.51 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5369, allocations: 0 / 1.487 GB, free: 11.51 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002072/0.539, allocations: 0.9166 MB / 1.488 GB, free: 10.57 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000426/0.5394, allocations: 203.1 kB / 1.488 GB, free: 10.37 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.5395, allocations: 23.94 kB / 1.489 GB, free: 10.34 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000645/0.5401, allocations: 64 kB / 1.489 GB, free: 10.28 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.5403, allocations: 72.86 kB / 1.489 GB, free: 10.21 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.382e-05/0.5404, allocations: 35.97 kB / 1.489 GB, free: 10.18 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0005791/0.541, allocations: 443 kB / 1.489 GB, free: 9.746 MB / 1.186 GB Notification: Performance of sort global known variables: time 7.1e-08/0.541, allocations: 0 / 1.489 GB, free: 9.746 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008803/0.5418, allocations: 323.2 kB / 1.489 GB, free: 9.43 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.002148/0.544, allocations: 0.6375 MB / 1.49 GB, free: 9 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001723/0.5457, allocations: 0.792 MB / 1.491 GB, free: 8.195 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5457, allocations: 256 / 1.491 GB, free: 8.195 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009613/0.5467, allocations: 496.2 kB / 1.491 GB, free: 7.703 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.5478, allocations: 293.6 kB / 1.492 GB, free: 7.434 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003087/0.5509, allocations: 1.701 MB / 1.493 GB, free: 5.707 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004695/0.5514, allocations: 442 kB / 1.494 GB, free: 5.242 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000765/0.5521, allocations: 258.5 kB / 1.494 GB, free: 4.984 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000292/0.5524, allocations: 103.4 kB / 1.494 GB, free: 4.883 MB / 1.186 GB Notification: Performance of SimCode: time 5.41e-07/0.5524, allocations: 4 kB / 1.494 GB, free: 4.879 MB / 1.186 GB Notification: Performance of Templates: time 0.02871/0.5811, allocations: 16.4 MB / 1.51 GB, free: 4.727 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 gbode -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.362573086997145]