Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.252/2.252, allocations: 387.1 MB / 399.7 MB, free: 9.504 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009131/0.0009131, allocations: 168.9 kB / 492.3 MB, free: 0.6484 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 221.3 MB / 0.7871 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008484/0.0008484, allocations: 91.95 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.667e-05/2.676e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2353, allocations: 142.3 MB / 1.212 GB, free: 38.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.087/1.322, allocations: 457.9 MB / 1.66 GB, free: 5.102 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/1.323, allocations: 96.09 kB / 1.66 GB, free: 5.055 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 8.718/10.04, allocations: 2.387 GB / 4.047 GB, free: 94.43 MB / 1.245 GB Notification: Performance of FrontEnd: time 2.785e-06/10.04, allocations: 0 / 4.047 GB, free: 94.43 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.000869/10.04, allocations: 128.9 kB / 4.047 GB, free: 94.43 MB / 1.245 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 676 * Number of variables: 676 Notification: Performance of Generate backend data structure: time 0.01629/10.06, allocations: 4.64 MB / 4.051 GB, free: 92.85 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/10.06, allocations: 7.359 kB / 4.051 GB, free: 92.85 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007059/10.07, allocations: 1.095 MB / 4.053 GB, free: 92.55 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01876/10.08, allocations: 5.755 MB / 4.058 GB, free: 91.75 MB / 1.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002743/10.08, allocations: 221.2 kB / 4.058 GB, free: 91.74 MB / 1.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009299/10.09, allocations: 305.8 kB / 4.059 GB, free: 91.74 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005697/10.09, allocations: 2.997 MB / 4.062 GB, free: 91.36 MB / 1.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.234e-05/10.09, allocations: 3.062 kB / 4.062 GB, free: 91.36 MB / 1.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002947/10.09, allocations: 113.5 kB / 4.062 GB, free: 91.36 MB / 1.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001401/10.09, allocations: 104.8 kB / 4.062 GB, free: 91.35 MB / 1.245 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003998/10.1, allocations: 2.327 MB / 4.064 GB, free: 91.32 MB / 1.245 GB Warning: The model contains alias variables with conflicting start and/or 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.02805/10.12, allocations: 17.69 MB / 4.081 GB, free: 81.29 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002721/10.13, allocations: 1.565 MB / 4.083 GB, free: 81.14 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/10.13, allocations: 0.9561 MB / 4.084 GB, free: 81.13 MB / 1.245 GB Warning: The model contains alias variables with conflicting start and/or 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.0115/10.14, allocations: 3.994 MB / 4.088 GB, free: 79.89 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.644e-05/10.14, allocations: 52.25 kB / 4.088 GB, free: 79.85 MB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005015/10.14, allocations: 1.094 MB / 4.089 GB, free: 79.77 MB / 1.245 GB Notification: Performance of pre-optimization done (n=149): time 1.931e-05/10.14, allocations: 2.281 kB / 4.089 GB, free: 79.77 MB / 1.245 GB Notification: Performance of matching and sorting (n=154): time 0.01497/10.16, allocations: 5.252 MB / 4.094 GB, free: 78.55 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/10.16, allocations: 122.3 kB / 4.094 GB, free: 78.42 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005993/10.17, allocations: 3.279 MB / 4.097 GB, free: 78.09 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.0007172/10.17, allocations: 69.55 kB / 4.097 GB, free: 78.06 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.001835/10.17, allocations: 2.206 MB / 4.099 GB, free: 77.49 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006657/10.17, allocations: 0.5352 MB / 4.1 GB, free: 77.15 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/10.17, allocations: 40.91 kB / 4.1 GB, free: 77.15 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.0001115/10.17, allocations: 385.8 kB / 4.1 GB, free: 76.84 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/10.17, allocations: 0.7286 MB / 4.101 GB, free: 76.84 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001551/10.17, allocations: 1.625 MB / 4.103 GB, free: 75.76 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/10.17, allocations: 0.9593 MB / 4.104 GB, free: 75.72 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/10.17, allocations: 3.844 kB / 4.104 GB, free: 75.72 MB / 1.245 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.007818/10.18, allocations: 3.29 MB / 4.107 GB, free: 75.37 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.001699/10.18, allocations: 8.82 MB / 4.115 GB, free: 66.04 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.468e-05/10.18, allocations: 18.5 kB / 4.116 GB, free: 66.04 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003917/10.19, allocations: 0.9297 MB / 4.116 GB, free: 66.01 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00252/10.19, allocations: 495.8 kB / 4.117 GB, free: 66.01 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003206/10.19, allocations: 3.436 MB / 4.12 GB, free: 63.63 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005116/10.2, allocations: 325.3 kB / 4.121 GB, free: 63.6 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004656/10.2, allocations: 129 kB / 4.121 GB, free: 63.6 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/10.2, allocations: 3.906 kB / 4.121 GB, free: 63.6 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006567/10.2, allocations: 2.796 MB / 4.123 GB, free: 63.52 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.615e-05/10.2, allocations: 21.47 kB / 4.123 GB, free: 63.52 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003681/10.21, allocations: 0.9072 MB / 4.124 GB, free: 63.49 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002071/10.21, allocations: 480.6 kB / 4.125 GB, free: 63.49 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00426/10.21, allocations: 4.718 MB / 4.129 GB, free: 60.16 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004716/10.22, allocations: 312.1 kB / 4.13 GB, free: 60.14 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004072/10.22, allocations: 122.1 kB / 4.13 GB, free: 60.14 MB / 1.245 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.onOffController.y,onOffController.y,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (227): * Single equations (assignments): 222 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 2 {8 19,2 9} Notification: Performance of prepare postOptimizeDAE: time 0.000659/10.22, allocations: 239.2 kB / 4.13 GB, free: 60.02 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001018/10.22, allocations: 449.9 kB / 4.13 GB, free: 59.78 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007068/10.23, allocations: 2.861 MB / 4.133 GB, free: 59.59 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.183e-05/10.23, allocations: 27.53 kB / 4.133 GB, free: 59.59 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/10.23, allocations: 0 / 4.133 GB, free: 59.59 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004601/10.23, allocations: 2.116 MB / 4.135 GB, free: 59.34 MB / 1.245 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.01551/10.25, allocations: 5.783 MB / 4.141 GB, free: 58.82 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/10.25, allocations: 0 / 4.141 GB, free: 58.82 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001663/10.25, allocations: 323.5 kB / 4.141 GB, free: 58.82 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001865/10.25, allocations: 0.5666 MB / 4.142 GB, free: 58.79 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001989/10.25, allocations: 52.33 kB / 4.142 GB, free: 58.79 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002481/10.26, allocations: 3.169 MB / 4.145 GB, free: 56.4 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/10.26, allocations: 3.75 kB / 4.145 GB, free: 56.4 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006697/10.26, allocations: 3.536 MB / 4.148 GB, free: 55.9 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002706/10.26, allocations: 0.7114 MB / 4.149 GB, free: 55.56 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001101/10.27, allocations: 36.97 kB / 4.149 GB, free: 55.56 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003071/10.27, allocations: 275.3 kB / 4.149 GB, free: 55.54 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002221/10.27, allocations: 113.9 kB / 4.15 GB, free: 55.54 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001595/10.27, allocations: 74.73 kB / 4.15 GB, free: 55.54 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.004234/10.27, allocations: 2.497 MB / 4.152 GB, free: 55.33 MB / 1.245 GB Notification: Performance of sort global known variables: time 2.2e-07/10.27, allocations: 0 / 4.152 GB, free: 55.33 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.00905/10.28, allocations: 2.095 MB / 4.154 GB, free: 55.23 MB / 1.245 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (boi.heaCapDry.T,val.filter.s[1],val.filter.s[2],pumLoa.filter.s[1],pumLoa.filter.s[2],pumBoi.filter.s[1],pumBoi.filter.s[2],conPID.I.y,exp.m,exp.H,vol.dynBal.U) * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 2 {7 19,2 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.003914/10.29, allocations: 2.642 MB / 4.157 GB, free: 54.3 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.007101/10.29, allocations: 3.9 MB / 4.16 GB, free: 53.86 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/10.29, allocations: 3.359 kB / 4.16 GB, free: 53.86 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.002/10.3, allocations: 1.148 MB / 4.162 GB, free: 53.72 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01048/10.31, allocations: 2.024 MB / 4.164 GB, free: 53.7 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/10.32, allocations: 5.63 MB / 4.169 GB, free: 52.17 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001848/10.32, allocations: 2.524 MB / 4.172 GB, free: 51.38 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.007089/10.33, allocations: 1.313 MB / 4.173 GB, free: 51.34 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007002/10.33, allocations: 250.5 kB / 4.173 GB, free: 51.34 MB / 1.245 GB Notification: Performance of SimCode: time 9.51e-07/10.33, allocations: 0 / 4.173 GB, free: 51.34 MB / 1.245 GB Notification: Performance of Templates: time 0.1847/10.51, allocations: 107.4 MB / 4.278 GB, free: 45.08 MB / 1.245 GB make -j1 -f Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.makefile (rm -f Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; mkfifo Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe >> ../files/Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.sim & ./Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Boilers_Examples_BoilerPolynomialClosedLoop.csv","../files/Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches