Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|boi.vol.T|val.y|conPID.u_s|conPID.u_m|conPID.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|boi.vol.T|val.y|conPID.u_s|conPID.u_m|conPID.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 114.3 kB / 16.42 MB, free: 6.469 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.001769/0.001769, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.527/2.527, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 64.12 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.113/1.115, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop): time 0.3408/1.455, allocations: 281.5 MB / 1.442 GB, free: 9.383 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.08668/1.542, allocations: 52.61 MB / 1.494 GB, free: 4.637 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01422/1.556, allocations: 322.2 kB / 1.494 GB, free: 4.32 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.01241/1.569, allocations: 3.723 MB / 1.498 GB, free: 0.582 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.02506/1.594, allocations: 7.458 MB / 1.505 GB, free: 9.102 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01425/1.608, allocations: 5.124 MB / 1.51 GB, free: 4.012 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.032/1.64, allocations: 18.33 MB / 1.528 GB, free: 1.637 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01172/1.652, allocations: 4.865 MB / 1.532 GB, free: 12.68 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01623/1.668, allocations: 5.751 MB / 1.538 GB, free: 6.922 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009181/1.677, allocations: 4.022 MB / 1.542 GB, free: 2.883 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.002939/1.68, allocations: 484 kB / 1.542 GB, free: 2.41 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01065/1.691, allocations: 3.12 MB / 1.546 GB, free: 15.29 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.003394/1.695, allocations: 1.631 MB / 1.547 GB, free: 13.65 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.00825/1.703, allocations: 3.203 MB / 1.55 GB, free: 10.43 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.02095/1.724, allocations: 9.005 MB / 1.559 GB, free: 1.391 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/1.724, allocations: 0 / 1.559 GB, free: 1.391 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.294e-06/1.724, allocations: 0 / 1.559 GB, free: 1.391 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0004214/1.724, allocations: 0 / 1.559 GB, free: 1.391 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 684 * Number of variables: 684 Notification: Performance of Generate backend data structure: time 0.7769/2.501, allocations: 7.047 MB / 1.566 GB, free: 384.5 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/2.501, allocations: 9.625 kB / 1.566 GB, free: 384.5 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007196/2.508, allocations: 1.227 MB / 1.567 GB, free: 384.1 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01419/2.523, allocations: 6.285 MB / 1.573 GB, free: 381.3 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002118/2.523, allocations: 218.6 kB / 1.573 GB, free: 381.2 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007813/2.524, allocations: 293.5 kB / 1.574 GB, free: 381.1 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006102/2.53, allocations: 3.204 MB / 1.577 GB, free: 379.2 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.608e-05/2.53, allocations: 0 / 1.577 GB, free: 379.2 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002474/2.53, allocations: 115.6 kB / 1.577 GB, free: 379.1 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.82e-05/2.53, allocations: 99.58 kB / 1.577 GB, free: 379.1 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005413/2.536, allocations: 2.681 MB / 1.58 GB, free: 377.8 MB / 1.279 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.02631/2.562, allocations: 18.95 MB / 1.598 GB, free: 358.5 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003384/2.565, allocations: 1.704 MB / 1.6 GB, free: 356.8 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001951/2.567, allocations: 1.037 MB / 1.601 GB, free: 355.8 MB / 1.279 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 evalFunc (simulation): time 0.009911/2.577, allocations: 4.046 MB / 1.605 GB, free: 351.6 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/2.577, allocations: 49.94 kB / 1.605 GB, free: 351.5 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00357/2.581, allocations: 407.4 kB / 1.605 GB, free: 351.2 MB / 1.279 GB Notification: Performance of pre-optimization done (n=140): time 1.173e-05/2.581, allocations: 7.938 kB / 1.605 GB, free: 351.2 MB / 1.279 GB Notification: Performance of matching and sorting (n=145): time 0.03209/2.613, allocations: 8.76 MB / 1.614 GB, free: 342.4 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/2.613, allocations: 68.72 kB / 1.614 GB, free: 342.4 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006763/2.62, allocations: 5.146 MB / 1.619 GB, free: 337.2 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0005028/2.62, allocations: 69.55 kB / 1.619 GB, free: 337.1 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001592/2.622, allocations: 2.518 MB / 1.621 GB, free: 334.6 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.00045/2.622, allocations: 0.5453 MB / 1.622 GB, free: 334.1 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008217/2.623, allocations: 0.6858 MB / 1.623 GB, free: 333.4 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.796e-05/2.623, allocations: 309.1 kB / 1.623 GB, free: 333.1 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002207/2.626, allocations: 1.275 MB / 1.624 GB, free: 331.8 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002631/2.628, allocations: 2.194 MB / 1.626 GB, free: 329.2 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004726/2.633, allocations: 3.203 MB / 1.629 GB, free: 325.7 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/2.633, allocations: 4 kB / 1.629 GB, free: 325.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01436/2.647, allocations: 5.121 MB / 1.634 GB, free: 320.6 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.437e-05/2.647, allocations: 19.98 kB / 1.634 GB, free: 320.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.598e-05/2.647, allocations: 20 kB / 1.635 GB, free: 320.6 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0101/2.658, allocations: 1.241 MB / 1.636 GB, free: 319.3 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004694/2.662, allocations: 0.6121 MB / 1.636 GB, free: 318.7 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01679/2.679, allocations: 7.114 MB / 1.643 GB, free: 311.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008242/2.687, allocations: 216.4 kB / 1.643 GB, free: 311.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008279/2.688, allocations: 147.9 kB / 1.644 GB, free: 310.9 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00788/2.696, allocations: 2.13 MB / 1.646 GB, free: 308.8 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004943/2.701, allocations: 2.16 MB / 1.648 GB, free: 306.3 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008572/2.71, allocations: 3.137 MB / 1.651 GB, free: 302.8 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.639e-05/2.71, allocations: 8 kB / 1.651 GB, free: 302.8 MB / 1.279 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.02628/2.736, allocations: 5.01 MB / 1.656 GB, free: 297.8 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.831e-05/2.736, allocations: 16 kB / 1.656 GB, free: 297.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.014e-05/2.736, allocations: 23.94 kB / 1.656 GB, free: 297.8 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01108/2.747, allocations: 1.202 MB / 1.657 GB, free: 296.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002819/2.75, allocations: 0.5929 MB / 1.658 GB, free: 296 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01202/2.762, allocations: 8.632 MB / 1.666 GB, free: 286.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006679/2.769, allocations: 243.8 kB / 1.666 GB, free: 286.7 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007372/2.77, allocations: 139.9 kB / 1.666 GB, free: 286.5 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 94 * Number of states: 0 () * Number of discrete variables: 3 (onOffController.y,$PRE.onOffController.y,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (303): * Single equations (assignments): 296 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (7,13,79.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.001084/2.771, allocations: 340.4 kB / 1.667 GB, free: 286.2 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001948/2.773, allocations: 0.5316 MB / 1.667 GB, free: 285.7 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009346/2.782, allocations: 3.218 MB / 1.67 GB, free: 282.4 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006265/2.789, allocations: 2.458 MB / 1.673 GB, free: 279.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/2.789, allocations: 0 / 1.673 GB, free: 279.9 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002506/2.791, allocations: 0.8215 MB / 1.674 GB, free: 279.1 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001599/2.793, allocations: 43.92 kB / 1.674 GB, free: 279 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003605/2.796, allocations: 167.7 kB / 1.674 GB, free: 278.9 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002944/2.797, allocations: 141.8 kB / 1.674 GB, free: 278.7 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007483/2.804, allocations: 2.68 MB / 1.676 GB, free: 276.1 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007133/2.811, allocations: 3.704 MB / 1.68 GB, free: 272.4 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001832/2.813, allocations: 0.9446 MB / 1.681 GB, free: 271.4 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.005406/2.819, allocations: 3.4 MB / 1.684 GB, free: 268 MB / 1.279 GB Notification: Performance of Backend: time 3.6e-07/2.819, allocations: 0 / 1.684 GB, free: 268 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01522/2.834, allocations: 6.065 MB / 1.69 GB, free: 262 MB / 1.279 GB Notification: Performance of SimCode: time 0.02567/2.86, allocations: 11.37 MB / 1.701 GB, free: 250.7 MB / 1.279 GB Notification: Performance of Templates: time 0.1554/3.015, allocations: 107.6 MB / 1.806 GB, free: 144.3 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.makefile (rm -f Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; mkfifo Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe >> ../files/Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.sim & ./Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Boilers_Examples_BoilerPolynomialClosedLoop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches