Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2") translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 102.2 kB / 16.27 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001852/0.001852, allocations: 189.6 kB / 17.2 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.815/2.815, allocations: 482.4 MB / 0.7553 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 76.2 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7569/0.7589, allocations: 162.2 MB / 1.083 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 0.2601/1.019, allocations: 209.6 MB / 1.288 GB, free: 12.67 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03126/1.05, allocations: 19.09 MB / 1.306 GB, free: 9.531 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003374/1.054, allocations: 95.5 kB / 1.306 GB, free: 9.438 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01011/1.064, allocations: 4.561 MB / 1.311 GB, free: 4.863 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01068/1.075, allocations: 3.442 MB / 1.314 GB, free: 1.41 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.007072/1.082, allocations: 2.459 MB / 1.317 GB, free: 14.96 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01796/1.1, allocations: 13.06 MB / 1.329 GB, free: 1.871 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006314/1.106, allocations: 3.974 MB / 1.333 GB, free: 13.83 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009603/1.116, allocations: 3.847 MB / 1.337 GB, free: 9.992 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005957/1.122, allocations: 3.014 MB / 1.34 GB, free: 6.969 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001419/1.123, allocations: 408 kB / 1.34 GB, free: 6.57 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007769/1.131, allocations: 2.617 MB / 1.343 GB, free: 3.949 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002428/1.133, allocations: 1.328 MB / 1.344 GB, free: 2.617 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.004703/1.138, allocations: 2.376 MB / 1.346 GB, free: 236 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01216/1.15, allocations: 7.28 MB / 1.354 GB, free: 8.93 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 9.477e-06/1.15, allocations: 4 kB / 1.354 GB, free: 8.926 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.094e-06/1.15, allocations: 0 / 1.354 GB, free: 8.926 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002006/1.151, allocations: 4 kB / 1.354 GB, free: 8.922 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.01153/1.162, allocations: 4.936 MB / 1.358 GB, free: 3.898 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/1.162, allocations: 8.031 kB / 1.358 GB, free: 3.891 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006757/1.169, allocations: 1.056 MB / 1.359 GB, free: 2.828 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01052/1.179, allocations: 4.59 MB / 1.364 GB, free: 14.17 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002341/1.18, allocations: 185 kB / 1.364 GB, free: 13.99 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008046/1.181, allocations: 240 kB / 1.364 GB, free: 13.75 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006697/1.187, allocations: 3.201 MB / 1.367 GB, free: 10.4 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.791e-05/1.187, allocations: 11.84 kB / 1.367 GB, free: 10.39 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003/1.188, allocations: 96 kB / 1.368 GB, free: 10.29 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001254/1.188, allocations: 96.34 kB / 1.368 GB, free: 10.2 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005812/1.194, allocations: 2.659 MB / 1.37 GB, free: 7.52 MB / 1.092 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.0265/1.22, allocations: 13.85 MB / 1.384 GB, free: 9.008 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003753/1.224, allocations: 2.131 MB / 1.386 GB, free: 6.793 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00165/1.226, allocations: 0.9486 MB / 1.387 GB, free: 5.836 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01162/1.237, allocations: 4.579 MB / 1.391 GB, free: 1.023 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001953/1.239, allocations: 0.9729 MB / 1.392 GB, free: 28 kB / 1.107 GB Notification: Performance of pre-optimization done (n=126): time 3.176e-06/1.239, allocations: 0 / 1.392 GB, free: 28 kB / 1.107 GB Notification: Performance of matching and sorting (n=129): time 0.01304/1.252, allocations: 5.483 MB / 1.398 GB, free: 10.37 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.489e-05/1.252, allocations: 102.4 kB / 1.398 GB, free: 10.25 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00561/1.258, allocations: 3.599 MB / 1.401 GB, free: 6.668 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0003939/1.258, allocations: 61.7 kB / 1.401 GB, free: 6.602 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001848/1.26, allocations: 1.659 MB / 1.403 GB, free: 4.93 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006584/1.261, allocations: 481.3 kB / 1.403 GB, free: 4.453 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008684/1.262, allocations: 0.5199 MB / 1.404 GB, free: 3.926 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000129/1.262, allocations: 301.1 kB / 1.404 GB, free: 3.629 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002663/1.265, allocations: 1.194 MB / 1.405 GB, free: 2.426 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003225/1.268, allocations: 1.8 MB / 1.407 GB, free: 376 kB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004959/1.273, allocations: 2.783 MB / 1.41 GB, free: 13.36 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/1.273, allocations: 4 kB / 1.41 GB, free: 13.36 MB / 1.139 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01034/1.283, allocations: 3.864 MB / 1.413 GB, free: 9.473 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/1.283, allocations: 12 kB / 1.413 GB, free: 9.461 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.88e-05/1.283, allocations: 16 kB / 1.414 GB, free: 9.445 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0073/1.291, allocations: 1.094 MB / 1.415 GB, free: 8.344 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002255/1.293, allocations: 0.5031 MB / 1.415 GB, free: 7.84 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006848/1.3, allocations: 3.28 MB / 1.418 GB, free: 4.398 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003297/1.303, allocations: 184.9 kB / 1.418 GB, free: 4.219 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003285/1.303, allocations: 108 kB / 1.419 GB, free: 4.113 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004341/1.308, allocations: 2.148 MB / 1.421 GB, free: 1.957 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003118/1.311, allocations: 1.765 MB / 1.422 GB, free: 15.94 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004845/1.316, allocations: 2.697 MB / 1.425 GB, free: 13.02 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.604e-05/1.316, allocations: 7.984 kB / 1.425 GB, free: 13.01 MB / 1.154 GB Notification: Performance of matching and sorting (n=317) (initialization_lambda0): time 0.009955/1.326, allocations: 3.765 MB / 1.429 GB, free: 9.223 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/1.326, allocations: 12 kB / 1.429 GB, free: 9.211 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.79e-05/1.326, allocations: 28 kB / 1.429 GB, free: 9.184 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00717/1.333, allocations: 1.086 MB / 1.43 GB, free: 8.09 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002151/1.335, allocations: 0.4953 MB / 1.43 GB, free: 7.594 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00683/1.342, allocations: 3.277 MB / 1.433 GB, free: 4.156 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003246/1.345, allocations: 200.2 kB / 1.434 GB, free: 3.961 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003017/1.346, allocations: 108 kB / 1.434 GB, free: 3.855 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,hysPum.y,$PRE.hysPum.y,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 (269): * Single equations (assignments): 265 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(5,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000658/1.346, allocations: 325.1 kB / 1.434 GB, free: 3.531 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009577/1.347, allocations: 339.8 kB / 1.434 GB, free: 3.195 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005072/1.352, allocations: 2.278 MB / 1.437 GB, free: 0.8867 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.503e-05/1.352, allocations: 27.86 kB / 1.437 GB, free: 0.8594 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/1.352, allocations: 0 / 1.437 GB, free: 0.8594 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003713/1.356, allocations: 1.967 MB / 1.439 GB, free: 14.8 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009985/1.366, allocations: 5.219 MB / 1.444 GB, free: 9.508 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/1.366, allocations: 0 / 1.444 GB, free: 9.508 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001489/1.368, allocations: 291.6 kB / 1.444 GB, free: 9.223 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008041/1.369, allocations: 272.8 kB / 1.444 GB, free: 8.934 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001242/1.369, allocations: 43.97 kB / 1.444 GB, free: 8.891 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008246/1.377, allocations: 9.281 MB / 1.453 GB, free: 14.77 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.377, allocations: 3.984 kB / 1.453 GB, free: 14.76 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006665/1.384, allocations: 3.183 MB / 1.456 GB, free: 11.53 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001749/1.385, allocations: 0.645 MB / 1.457 GB, free: 10.86 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005882/1.386, allocations: 35.98 kB / 1.457 GB, free: 10.82 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001833/1.388, allocations: 107.8 kB / 1.457 GB, free: 10.72 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002508/1.388, allocations: 105.2 kB / 1.457 GB, free: 10.62 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/1.388, allocations: 67.94 kB / 1.457 GB, free: 10.55 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.004007/1.392, allocations: 2.429 MB / 1.46 GB, free: 8.141 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.71e-07/1.392, allocations: 3.938 kB / 1.46 GB, free: 8.137 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0053/1.398, allocations: 1.722 MB / 1.461 GB, free: 6.414 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 11 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,pumRad.vol.dynBal.U,pumRad.motSpe.y) * Number of discrete variables: 4 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysPum.y) * Number of discrete states: 3 (timTab.tab.nextTimeEvent,hysPum.y,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,3,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002902/1.401, allocations: 0.9933 MB / 1.462 GB, free: 5.578 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01539/1.416, allocations: 5.431 MB / 1.468 GB, free: 136 kB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.386e-05/1.416, allocations: 4.422 kB / 1.468 GB, free: 132 kB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002599/1.419, allocations: 1.574 MB / 1.469 GB, free: 14.47 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008885/1.427, allocations: 1.976 MB / 1.471 GB, free: 12.57 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01317/1.441, allocations: 7.357 MB / 1.478 GB, free: 5.176 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00241/1.443, allocations: 2.504 MB / 1.481 GB, free: 2.641 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001205/1.444, allocations: 287.3 kB / 1.481 GB, free: 2.359 MB / 1.201 GB Notification: Performance of SimCode: time 9.11e-07/1.444, allocations: 0 / 1.481 GB, free: 2.359 MB / 1.201 GB Notification: Performance of Templates: time 0.649/2.093, allocations: 137.2 MB / 1.615 GB, free: 387.7 MB / 1.264 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2.sim & ./Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_Boiler_System2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches