Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.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.001873/0.001873, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.002166/0.002166, allocations: 216.3 kB / 23.01 MB, free: 4.969 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.553/1.553, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.399/3.399, allocations: 0.49 GB / 0.7959 GB, free: 35.36 MB / 0.6231 GB " [Timeout remaining time 176] 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.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T|boi.vol.T|val.y|conPID.u_s|conPID.u_m|conPID.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T|boi.vol.T|val.y|conPID.u_s|conPID.u_m|conPID.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") [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.002164/0.002164, allocations: 77.2 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5341/0.5362, allocations: 176.1 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop): time 0.337/0.8732, allocations: 259.3 MB / 1.58 GB, free: 12.78 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 1.333/2.206, allocations: 49.11 MB / 1.628 GB, free: 65.3 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01834/2.225, allocations: 450.3 kB / 1.629 GB, free: 65.3 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01534/2.24, allocations: 3.649 MB / 1.632 GB, free: 65.29 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.03091/2.271, allocations: 7.59 MB / 1.64 GB, free: 65.01 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01792/2.289, allocations: 5.28 MB / 1.645 GB, free: 64.9 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.03704/2.326, allocations: 18.16 MB / 1.663 GB, free: 64.8 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009768/2.336, allocations: 4.032 MB / 1.667 GB, free: 64.44 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02038/2.356, allocations: 6.803 MB / 1.673 GB, free: 64.22 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01126/2.367, allocations: 4.165 MB / 1.677 GB, free: 63.48 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.003214/2.371, allocations: 465.6 kB / 1.678 GB, free: 63.48 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01217/2.383, allocations: 2.753 MB / 1.68 GB, free: 63.43 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.004138/2.387, allocations: 1.629 MB / 1.682 GB, free: 63.15 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.009442/2.396, allocations: 2.502 MB / 1.684 GB, free: 62.45 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.02195/2.418, allocations: 8.905 MB / 1.693 GB, free: 61.09 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 1.098e-05/2.418, allocations: 6.125 kB / 1.693 GB, free: 61.09 MB / 1.295 GB Notification: Performance of FrontEnd: time 3.216e-06/2.418, allocations: 0 / 1.693 GB, free: 61.09 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0004047/2.419, allocations: 0 / 1.693 GB, free: 61.09 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 675 * Number of variables: 675 Notification: Performance of Generate backend data structure: time 0.02044/2.439, allocations: 6.744 MB / 1.7 GB, free: 57.98 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 6.847e-05/2.439, allocations: 7.719 kB / 1.7 GB, free: 57.98 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006711/2.446, allocations: 1.219 MB / 1.701 GB, free: 57.58 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01566/2.462, allocations: 6.012 MB / 1.707 GB, free: 56.42 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003539/2.462, allocations: 223.4 kB / 1.707 GB, free: 56.41 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001192/2.463, allocations: 290.3 kB / 1.707 GB, free: 56.4 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007465/2.471, allocations: 3.556 MB / 1.711 GB, free: 55.61 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.705e-05/2.471, allocations: 3.984 kB / 1.711 GB, free: 55.61 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003136/2.471, allocations: 112.2 kB / 1.711 GB, free: 55.61 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.826e-05/2.471, allocations: 65.97 kB / 1.711 GB, free: 55.61 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006095/2.477, allocations: 2.702 MB / 1.714 GB, free: 54.44 MB / 1.295 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.026/2.503, allocations: 11.72 MB / 1.725 GB, free: 45.8 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004105/2.507, allocations: 1.67 MB / 1.727 GB, free: 44.96 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002034/2.509, allocations: 0.9656 MB / 1.728 GB, free: 44.48 MB / 1.295 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.008484/2.518, allocations: 2.746 MB / 1.73 GB, free: 42.58 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.345e-05/2.518, allocations: 49.84 kB / 1.73 GB, free: 42.53 MB / 1.295 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004517/2.522, allocations: 0.5091 MB / 1.731 GB, free: 42.3 MB / 1.295 GB Notification: Performance of pre-optimization done (n=134): time 1.556e-05/2.522, allocations: 4 kB / 1.731 GB, free: 42.3 MB / 1.295 GB Notification: Performance of matching and sorting (n=138): time 0.03546/2.558, allocations: 8.294 MB / 1.739 GB, free: 37.68 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/2.558, allocations: 64.62 kB / 1.739 GB, free: 37.62 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008812/2.567, allocations: 4.936 MB / 1.744 GB, free: 35.02 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0006966/2.567, allocations: 70.92 kB / 1.744 GB, free: 34.96 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.002148/2.57, allocations: 2.509 MB / 1.746 GB, free: 32.77 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007419/2.57, allocations: 0.5136 MB / 1.747 GB, free: 32.33 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001058/2.571, allocations: 0.6736 MB / 1.747 GB, free: 31.93 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 5.903e-05/2.571, allocations: 301.1 kB / 1.748 GB, free: 31.64 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002422/2.574, allocations: 1.274 MB / 1.749 GB, free: 30.99 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002968/2.577, allocations: 2.844 MB / 1.752 GB, free: 28.23 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004543/2.581, allocations: 3.145 MB / 1.755 GB, free: 24.91 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.304e-05/2.581, allocations: 8 kB / 1.755 GB, free: 24.9 MB / 1.295 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01465/2.596, allocations: 5.033 MB / 1.76 GB, free: 20.04 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 4.4e-05/2.596, allocations: 16.94 kB / 1.76 GB, free: 20.02 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-05/2.596, allocations: 20 kB / 1.76 GB, free: 20 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007244/2.603, allocations: 1.248 MB / 1.761 GB, free: 18.75 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002895/2.606, allocations: 0.5795 MB / 1.762 GB, free: 18.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009951/2.616, allocations: 6.779 MB / 1.768 GB, free: 11.23 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005841/2.622, allocations: 215.9 kB / 1.768 GB, free: 11.02 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007484/2.623, allocations: 143.9 kB / 1.769 GB, free: 10.88 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005165/2.628, allocations: 2.099 MB / 1.771 GB, free: 8.777 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002764/2.631, allocations: 2.813 MB / 1.773 GB, free: 5.445 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004451/2.635, allocations: 3.093 MB / 1.776 GB, free: 2.176 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.429e-05/2.635, allocations: 4 kB / 1.776 GB, free: 2.172 MB / 1.295 GB Notification: Performance of matching and sorting (n=392) (initialization_lambda0): time 0.01614/2.651, allocations: 4.935 MB / 1.781 GB, free: 13.4 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 4.318e-05/2.651, allocations: 22.12 kB / 1.781 GB, free: 13.38 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.063e-05/2.651, allocations: 23.98 kB / 1.781 GB, free: 13.36 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007358/2.659, allocations: 1.203 MB / 1.782 GB, free: 12.15 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002972/2.662, allocations: 0.5734 MB / 1.783 GB, free: 11.61 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0149/2.677, allocations: 8.031 MB / 1.791 GB, free: 3.328 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007279/2.684, allocations: 244.1 kB / 1.791 GB, free: 3.09 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009598/2.685, allocations: 139.9 kB / 1.791 GB, free: 2.953 MB / 1.311 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 (293): * Single equations (assignments): 286 * 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,75.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.001088/2.686, allocations: 338.8 kB / 1.791 GB, free: 2.652 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00221/2.688, allocations: 0.5083 MB / 1.792 GB, free: 2.141 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01045/2.699, allocations: 3.182 MB / 1.795 GB, free: 14.96 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00733/2.706, allocations: 2.428 MB / 1.797 GB, free: 12.52 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/2.706, allocations: 3.938 kB / 1.797 GB, free: 12.51 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003962/2.71, allocations: 0.7095 MB / 1.798 GB, free: 11.8 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001957/2.712, allocations: 28 kB / 1.798 GB, free: 11.77 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003959/2.716, allocations: 167.8 kB / 1.798 GB, free: 11.61 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004012/2.716, allocations: 145.7 kB / 1.798 GB, free: 11.46 MB / 1.326 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008772/2.725, allocations: 2.676 MB / 1.801 GB, free: 8.82 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009374/2.734, allocations: 3.593 MB / 1.805 GB, free: 5.207 MB / 1.326 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00215/2.737, allocations: 0.8393 MB / 1.805 GB, free: 4.367 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.007868/2.744, allocations: 3.242 MB / 1.809 GB, free: 1.125 MB / 1.326 GB Notification: Performance of Backend: time 9.42e-07/2.744, allocations: 4 kB / 1.809 GB, free: 1.121 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.01824/2.763, allocations: 5.618 MB / 1.814 GB, free: 11.77 MB / 1.342 GB Notification: Performance of SimCode: time 0.02931/2.792, allocations: 11.11 MB / 1.825 GB, free: 0.7344 MB / 1.342 GB Notification: Performance of Templates: time 0.2126/3.005, allocations: 117.1 MB / 1.939 GB, free: 13.87 MB / 1.467 GB " [Timeout remaining time 297] make -j1 -f Buildings_12_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; mkfifo Buildings_12_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe >> ../files/Buildings_12_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.sim & ./Buildings_12_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Boilers_Examples_BoilerPolynomialClosedLoop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.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: 16.14754011700279]