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.001534/0.001534, allocations: 111.1 kB / 16.46 MB, free: 6.453 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.001627/0.001627, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.483/1.483, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.16/3.16, allocations: 0.4899 GB / 0.7916 GB, free: 33.27 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.002035/0.002035, allocations: 65.69 kB / 1.149 GB, free: 26.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3215, allocations: 176.1 MB / 1.321 GB, free: 2.84 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.007251/0.3287, allocations: 4.987 MB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1901/0.5188, allocations: 154 MB / 1.476 GB, free: 3.25 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.5198, allocations: 23.81 kB / 1.476 GB, free: 3.227 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008374/0.5207, allocations: 194.2 kB / 1.477 GB, free: 3.035 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002211/0.5229, allocations: 0.5666 MB / 1.477 GB, free: 2.469 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002388/0.5253, allocations: 0.854 MB / 1.478 GB, free: 1.621 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002115/0.5274, allocations: 1.397 MB / 1.479 GB, free: 224 kB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009769/0.5283, allocations: 421.3 kB / 1.48 GB, free: 15.78 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008868/0.5292, allocations: 0.4983 MB / 1.48 GB, free: 15.28 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000855/0.5301, allocations: 0.5017 MB / 1.481 GB, free: 14.78 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.000273/0.5304, allocations: 119.9 kB / 1.481 GB, free: 14.66 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001211/0.5316, allocations: 0.4996 MB / 1.481 GB, free: 14.16 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003669/0.5319, allocations: 299.1 kB / 1.482 GB, free: 13.87 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007487/0.5327, allocations: 0.5635 MB / 1.482 GB, free: 13.3 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002747/0.5354, allocations: 1.669 MB / 1.484 GB, free: 11.62 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.5354, allocations: 0 / 1.484 GB, free: 11.62 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5354, allocations: 0 / 1.484 GB, free: 11.62 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.688e-05/0.5355, allocations: 0 / 1.484 GB, free: 11.62 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.00335/0.5389, allocations: 1.487 MB / 1.485 GB, free: 10.09 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.5389, allocations: 11.98 kB / 1.485 GB, free: 10.07 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/0.5405, allocations: 232 kB / 1.486 GB, free: 9.848 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.5419, allocations: 0.7864 MB / 1.486 GB, free: 9.02 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.899e-05/0.542, allocations: 69.94 kB / 1.486 GB, free: 8.949 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.5421, allocations: 80 kB / 1.486 GB, free: 8.871 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.5439, allocations: 0.9075 MB / 1.487 GB, free: 7.922 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.5439, allocations: 0 / 1.487 GB, free: 7.922 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.48e-05/0.544, allocations: 36 kB / 1.487 GB, free: 7.887 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/0.5441, allocations: 20 kB / 1.487 GB, free: 7.867 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/0.5461, allocations: 1.1 MB / 1.488 GB, free: 6.762 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.004695/0.5508, allocations: 2.839 MB / 1.491 GB, free: 3.785 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/0.5524, allocations: 0.728 MB / 1.492 GB, free: 3.051 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005765/0.553, allocations: 278.6 kB / 1.492 GB, free: 2.773 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.638e-05/0.553, allocations: 28.61 kB / 1.492 GB, free: 2.742 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00093/0.554, allocations: 484.8 kB / 1.493 GB, free: 2.254 MB / 1.186 GB Notification: Performance of pre-optimization done (n=78): time 2.225e-06/0.554, allocations: 0 / 1.493 GB, free: 2.254 MB / 1.186 GB Notification: Performance of matching and sorting (n=78): time 0.003542/0.5575, allocations: 1.179 MB / 1.494 GB, free: 1.047 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/0.5577, allocations: 196.6 kB / 1.494 GB, free: 0.8125 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.5587, allocations: 0.6606 MB / 1.495 GB, free: 148 kB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 8.348e-05/0.5588, allocations: 45.69 kB / 1.495 GB, free: 96 kB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004151/0.5592, allocations: 401 kB / 1.495 GB, free: 15.7 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002712/0.5595, allocations: 269.7 kB / 1.495 GB, free: 15.43 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002859/0.5598, allocations: 166.5 kB / 1.496 GB, free: 15.26 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002147/0.56, allocations: 390.7 kB / 1.496 GB, free: 14.87 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005851/0.5606, allocations: 265.9 kB / 1.496 GB, free: 14.61 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007239/0.5613, allocations: 363.9 kB / 1.497 GB, free: 14.24 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.5626, allocations: 0.6003 MB / 1.497 GB, free: 13.62 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.5626, allocations: 0 / 1.497 GB, free: 13.62 MB / 1.201 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002225/0.5648, allocations: 0.8453 MB / 1.498 GB, free: 12.77 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.5648, allocations: 8 kB / 1.498 GB, free: 12.76 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.5648, allocations: 0 / 1.498 GB, free: 12.76 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006549/0.5655, allocations: 84.89 kB / 1.498 GB, free: 12.68 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006957/0.5662, allocations: 163.7 kB / 1.498 GB, free: 12.52 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/0.5686, allocations: 1.642 MB / 1.5 GB, free: 10.73 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000839/0.5694, allocations: 99.5 kB / 1.5 GB, free: 10.63 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.363e-05/0.5695, allocations: 27.98 kB / 1.5 GB, free: 10.6 MB / 1.201 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.0005369/0.57, allocations: 275.3 kB / 1.5 GB, free: 10.32 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002601/0.5703, allocations: 87.44 kB / 1.5 GB, free: 10.23 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002604/0.5729, allocations: 1.046 MB / 1.501 GB, free: 9.172 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.5729, allocations: 8 kB / 1.501 GB, free: 9.164 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.5729, allocations: 3.938 kB / 1.501 GB, free: 9.16 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.5729, allocations: 11.97 kB / 1.501 GB, free: 9.148 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.5742, allocations: 0.8881 MB / 1.502 GB, free: 8.211 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.5742, allocations: 4 kB / 1.502 GB, free: 8.207 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005974/0.5748, allocations: 143.8 kB / 1.502 GB, free: 8.066 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000472/0.5753, allocations: 68.78 kB / 1.502 GB, free: 7.996 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.955e-05/0.5754, allocations: 27.98 kB / 1.502 GB, free: 7.969 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002159/0.5775, allocations: 1.658 MB / 1.504 GB, free: 6.168 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5775, allocations: 0 / 1.504 GB, free: 6.168 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002223/0.5798, allocations: 0.9244 MB / 1.505 GB, free: 5.219 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004374/0.5802, allocations: 276.3 kB / 1.505 GB, free: 4.93 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.5803, allocations: 20 kB / 1.505 GB, free: 4.91 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000648/0.581, allocations: 63.92 kB / 1.505 GB, free: 4.848 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/0.5812, allocations: 68.89 kB / 1.505 GB, free: 4.781 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.91e-05/0.5813, allocations: 35.92 kB / 1.505 GB, free: 4.746 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000732/0.582, allocations: 483 kB / 1.506 GB, free: 4.277 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.582, allocations: 0 / 1.506 GB, free: 4.277 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009472/0.5829, allocations: 323.2 kB / 1.506 GB, free: 3.961 MB / 1.201 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.002114/0.585, allocations: 0.606 MB / 1.507 GB, free: 3.531 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001911/0.587, allocations: 0.796 MB / 1.507 GB, free: 2.723 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.587, allocations: 0 / 1.507 GB, free: 2.723 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.588, allocations: 488.5 kB / 1.508 GB, free: 2.23 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/0.5895, allocations: 308.1 kB / 1.508 GB, free: 1.957 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003941/0.5935, allocations: 1.697 MB / 1.51 GB, free: 236 kB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008269/0.5943, allocations: 1.031 MB / 1.511 GB, free: 15.17 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008341/0.5951, allocations: 266.6 kB / 1.511 GB, free: 14.91 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002947/0.5954, allocations: 103.4 kB / 1.511 GB, free: 14.8 MB / 1.217 GB Notification: Performance of SimCode: time 6.81e-07/0.5954, allocations: 0 / 1.511 GB, free: 14.8 MB / 1.217 GB Notification: Performance of Templates: time 0.03023/0.6257, allocations: 15.45 MB / 1.526 GB, free: 15.52 MB / 1.232 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 -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/jenkins/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.603337788023055]