Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.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.001678/0.001678, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002002/0.002002, allocations: 190.2 kB / 22.22 MB, free: 5.102 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.497/1.497, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.2/3.2, allocations: 496 MB / 0.7835 GB, free: 33.71 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.Boiler.System1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 71.53 kB / 1.138 GB, free: 33.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3426, allocations: 173.6 MB / 1.307 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2569/0.5995, allocations: 163.6 MB / 1.467 GB, free: 13.55 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01072/0.6103, allocations: 3.506 MB / 1.47 GB, free: 10.04 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007003/0.611, allocations: 23.81 kB / 1.47 GB, free: 10.02 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.00146/0.6124, allocations: 294.5 kB / 1.471 GB, free: 9.727 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004034/0.6165, allocations: 0.9023 MB / 1.472 GB, free: 8.82 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002429/0.6189, allocations: 0.49 MB / 1.472 GB, free: 8.332 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002711/0.6216, allocations: 1.13 MB / 1.473 GB, free: 7.199 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000709/0.6223, allocations: 280.7 kB / 1.474 GB, free: 6.918 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001408/0.6237, allocations: 462.2 kB / 1.474 GB, free: 6.465 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001526/0.6252, allocations: 369.3 kB / 1.474 GB, free: 6.105 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001523/0.6254, allocations: 44 kB / 1.474 GB, free: 6.062 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003107/0.6285, allocations: 0.7483 MB / 1.475 GB, free: 5.312 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004197/0.6289, allocations: 175.4 kB / 1.475 GB, free: 5.141 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005957/0.6295, allocations: 270.6 kB / 1.475 GB, free: 4.875 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002803/0.6323, allocations: 0.9381 MB / 1.476 GB, free: 3.934 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6323, allocations: 0 / 1.476 GB, free: 3.934 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6323, allocations: 0 / 1.476 GB, free: 3.934 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.818e-05/0.6323, allocations: 0 / 1.476 GB, free: 3.934 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.002549/0.6349, allocations: 0.8154 MB / 1.477 GB, free: 3.086 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 6.621e-05/0.635, allocations: 8.922 kB / 1.477 GB, free: 3.078 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002121/0.6371, allocations: 159.5 kB / 1.477 GB, free: 2.922 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.6387, allocations: 450.2 kB / 1.478 GB, free: 2.457 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.752e-05/0.6388, allocations: 24.59 kB / 1.478 GB, free: 2.434 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.6389, allocations: 32 kB / 1.478 GB, free: 2.402 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.6399, allocations: 313.1 kB / 1.478 GB, free: 2.082 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/0.64, allocations: 3.953 kB / 1.478 GB, free: 2.078 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.202e-05/0.64, allocations: 12 kB / 1.478 GB, free: 2.066 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.662e-05/0.6401, allocations: 20.58 kB / 1.478 GB, free: 2.047 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008208/0.6409, allocations: 222.4 kB / 1.478 GB, free: 1.832 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.003934/0.6448, allocations: 1.492 MB / 1.48 GB, free: 192 kB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007243/0.6456, allocations: 202.8 kB / 1.48 GB, free: 15.98 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003096/0.6459, allocations: 100.8 kB / 1.48 GB, free: 15.88 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.529e-05/0.6459, allocations: 7.938 kB / 1.48 GB, free: 15.87 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000505/0.6464, allocations: 165 kB / 1.48 GB, free: 15.7 MB / 1.186 GB Notification: Performance of pre-optimization done (n=26): time 3.366e-06/0.6464, allocations: 0 / 1.48 GB, free: 15.7 MB / 1.186 GB Notification: Performance of matching and sorting (n=29): time 0.004659/0.6511, allocations: 1.013 MB / 1.481 GB, free: 14.65 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.6511, allocations: 59.34 kB / 1.481 GB, free: 14.58 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008458/0.652, allocations: 469.9 kB / 1.482 GB, free: 14.11 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.489e-05/0.652, allocations: 33.7 kB / 1.482 GB, free: 14.07 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/0.6523, allocations: 240.5 kB / 1.482 GB, free: 13.84 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/0.6525, allocations: 103.2 kB / 1.482 GB, free: 13.73 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/0.6527, allocations: 82.02 kB / 1.482 GB, free: 13.65 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002369/0.6529, allocations: 346.8 kB / 1.483 GB, free: 13.3 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003419/0.6532, allocations: 132.6 kB / 1.483 GB, free: 13.17 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003953/0.6536, allocations: 186.7 kB / 1.483 GB, free: 12.97 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007012/0.6543, allocations: 311.8 kB / 1.483 GB, free: 12.65 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.6543, allocations: 0 / 1.483 GB, free: 12.65 MB / 1.186 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001506/0.6558, allocations: 490.4 kB / 1.484 GB, free: 12.16 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.6559, allocations: 6.188 kB / 1.484 GB, free: 12.16 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.6559, allocations: 8 kB / 1.484 GB, free: 12.15 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004919/0.6564, allocations: 84.8 kB / 1.484 GB, free: 12.07 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004179/0.6568, allocations: 67.84 kB / 1.484 GB, free: 12 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002302/0.6591, allocations: 1.797 MB / 1.486 GB, free: 10.09 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000403/0.6595, allocations: 12.06 kB / 1.486 GB, free: 10.07 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.042e-05/0.6595, allocations: 15.98 kB / 1.486 GB, free: 10.06 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000302/0.6598, allocations: 186.6 kB / 1.486 GB, free: 9.867 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.6599, allocations: 51.64 kB / 1.486 GB, free: 9.816 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.6609, allocations: 406.8 kB / 1.486 GB, free: 9.41 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.661, allocations: 4 kB / 1.486 GB, free: 9.406 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.661, allocations: 3.938 kB / 1.486 GB, free: 9.402 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.661, allocations: 3.984 kB / 1.486 GB, free: 9.398 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/0.6628, allocations: 0.9442 MB / 1.487 GB, free: 8.402 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.6628, allocations: 0 / 1.487 GB, free: 8.402 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003899/0.6632, allocations: 68.03 kB / 1.487 GB, free: 8.336 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003471/0.6635, allocations: 76.78 kB / 1.487 GB, free: 8.258 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.271e-05/0.6635, allocations: 12 kB / 1.487 GB, free: 8.246 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00178/0.6653, allocations: 1.55 MB / 1.489 GB, free: 6.582 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.6653, allocations: 0 / 1.489 GB, free: 6.582 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.6665, allocations: 0.5632 MB / 1.489 GB, free: 6 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002183/0.6667, allocations: 79.72 kB / 1.489 GB, free: 5.922 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.437e-05/0.6668, allocations: 12.3 kB / 1.489 GB, free: 5.91 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000355/0.6671, allocations: 11.98 kB / 1.489 GB, free: 5.898 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.068e-05/0.6672, allocations: 19.95 kB / 1.489 GB, free: 5.879 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/0.6673, allocations: 15.98 kB / 1.489 GB, free: 5.863 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004109/0.6677, allocations: 307.1 kB / 1.49 GB, free: 5.566 MB / 1.186 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6677, allocations: 0 / 1.49 GB, free: 5.566 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005767/0.6682, allocations: 124 kB / 1.49 GB, free: 5.445 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001677/0.6699, allocations: 447.5 kB / 1.49 GB, free: 5.164 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0008483/0.6708, allocations: 406.7 kB / 1.491 GB, free: 4.754 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.6708, allocations: 0 / 1.491 GB, free: 4.754 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003573/0.6711, allocations: 242.5 kB / 1.491 GB, free: 4.504 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.6723, allocations: 252.8 kB / 1.491 GB, free: 4.27 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.6743, allocations: 1.001 MB / 1.492 GB, free: 3.238 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000547/0.6748, allocations: 0.8504 MB / 1.493 GB, free: 2.363 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003429/0.6752, allocations: 80.33 kB / 1.493 GB, free: 2.285 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.6753, allocations: 43.42 kB / 1.493 GB, free: 2.242 MB / 1.186 GB Notification: Performance of SimCode: time 1.072e-06/0.6753, allocations: 3.938 kB / 1.493 GB, free: 2.238 MB / 1.186 GB Notification: Performance of Templates: time 0.01876/0.6941, allocations: 9.133 MB / 1.502 GB, free: 9.227 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_12_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.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.436755420640111]