Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.BoilerPolynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boi1.sta_a.T|boi1.sta_b.T|boi1.T|boi2.sta_a.T|boi2.sta_b.T|boi2.T|y.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boi1.sta_a.T|boi1.sta_b.T|boi1.T|boi2.sta_a.T|boi2.sta_b.T|boi2.T|y.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001189, allocations: 98.88 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 182.7 kB / 16.92 MB, free: 6.914 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.523/1.523, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.595/2.595, allocations: 437.8 MB / 0.7128 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.0003837, allocations: 11.98 kB / 0.8735 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6757/0.6761, allocations: 153.8 MB / 1.024 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.05961/0.7358, allocations: 55.86 MB / 1.078 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0162/0.7521, allocations: 10.43 MB / 1.088 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002817/0.7549, allocations: 43.75 kB / 1.088 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002302/0.7573, allocations: 0.5595 MB / 1.089 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.006697/0.764, allocations: 1.828 MB / 1.091 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003782/0.7678, allocations: 1.177 MB / 1.092 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006246/0.7741, allocations: 4.719 MB / 1.097 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002242/0.7763, allocations: 1.011 MB / 1.098 GB, free: 4.09 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002794/0.7792, allocations: 1.081 MB / 1.099 GB, free: 3.004 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002141/0.7813, allocations: 0.9837 MB / 1.1 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.000432/0.7818, allocations: 48 kB / 1.1 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003018/0.7848, allocations: 1.13 MB / 1.101 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0005682/0.7854, allocations: 262.8 kB / 1.101 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001434/0.7869, allocations: 0.709 MB / 1.102 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002855/0.7897, allocations: 1.785 MB / 1.103 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.7898, allocations: 0 / 1.103 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.265e-06/0.7898, allocations: 0 / 1.103 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.878e-05/0.7898, allocations: 0 / 1.103 GB, free: 14.07 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.003561/0.7934, allocations: 1.594 MB / 1.105 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.7935, allocations: 8.031 kB / 1.105 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005786/0.7941, allocations: 175.1 kB / 1.105 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002118/0.7962, allocations: 1.186 MB / 1.106 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.137e-05/0.7963, allocations: 74 kB / 1.106 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001754/0.7965, allocations: 91.98 kB / 1.106 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001839/0.7983, allocations: 0.9567 MB / 1.107 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.177e-05/0.7983, allocations: 0 / 1.107 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.655e-05/0.7985, allocations: 39.98 kB / 1.107 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.134e-05/0.7985, allocations: 24 kB / 1.107 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.7998, allocations: 0.6753 MB / 1.108 GB, free: 9.09 MB / 0.8575 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.005905/0.8057, allocations: 4.061 MB / 1.112 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007532/0.8065, allocations: 410.1 kB / 1.112 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004054/0.807, allocations: 267.5 kB / 1.113 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004276/0.8074, allocations: 0.4957 MB / 1.113 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005688/0.808, allocations: 358 kB / 1.114 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=52): time 2.766e-06/0.808, allocations: 4 kB / 1.114 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=54): time 0.004471/0.8125, allocations: 1.976 MB / 1.115 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.98e-05/0.8126, allocations: 144.9 kB / 1.116 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/0.8143, allocations: 1.09 MB / 1.117 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.197e-05/0.8144, allocations: 41.7 kB / 1.117 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005245/0.8149, allocations: 0.5742 MB / 1.117 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/0.8151, allocations: 181.4 kB / 1.117 GB, free: 15 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.152e-05/0.8152, allocations: 65.69 kB / 1.118 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.8153, allocations: 333.9 kB / 1.118 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003956/0.8157, allocations: 221.5 kB / 1.118 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005614/0.8163, allocations: 432.7 kB / 1.118 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000887/0.8172, allocations: 0.6469 MB / 1.119 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/0.8172, allocations: 3.984 kB / 1.119 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001522/0.8187, allocations: 0.8838 MB / 1.12 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001674/0.8189, allocations: 253 kB / 1.12 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.8189, allocations: 4 kB / 1.12 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004254/0.8194, allocations: 113.6 kB / 1.12 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004241/0.8198, allocations: 119.8 kB / 1.12 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/0.8219, allocations: 2.203 MB / 1.123 GB, free: 9.344 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.8232, allocations: 87.89 kB / 1.123 GB, free: 9.258 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.646e-05/0.8233, allocations: 35.98 kB / 1.123 GB, free: 9.223 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.8233, allocations: 5.562 kB / 1.123 GB, free: 9.219 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001389/0.8247, allocations: 0.7697 MB / 1.123 GB, free: 8.438 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.8247, allocations: 8.5 kB / 1.123 GB, free: 8.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003615/0.8251, allocations: 117.6 kB / 1.124 GB, free: 8.309 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003904/0.8255, allocations: 115.8 kB / 1.124 GB, free: 8.195 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001712/0.8272, allocations: 2.191 MB / 1.126 GB, free: 5.836 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009954/0.8282, allocations: 79.84 kB / 1.126 GB, free: 5.758 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.728e-05/0.8283, allocations: 35.98 kB / 1.126 GB, free: 5.723 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (y.nextEventScaled,y.nextEvent,$PRE.y.nextEvent,y.last,y.b,y.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.000648/0.829, allocations: 433.4 kB / 1.126 GB, free: 5.285 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002786/0.8293, allocations: 126.5 kB / 1.126 GB, free: 5.16 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/0.8307, allocations: 0.8157 MB / 1.127 GB, free: 4.316 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.8307, allocations: 4 kB / 1.127 GB, free: 4.312 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.8307, allocations: 4 kB / 1.127 GB, free: 4.309 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001038/0.8318, allocations: 0.7112 MB / 1.128 GB, free: 3.559 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003356/0.8351, allocations: 1.829 MB / 1.13 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.8352, allocations: 0 / 1.13 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004134/0.8356, allocations: 75.89 kB / 1.13 GB, free: 1.566 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000364/0.836, allocations: 113.8 kB / 1.13 GB, free: 1.449 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.163e-05/0.836, allocations: 12 kB / 1.13 GB, free: 1.438 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001822/0.8378, allocations: 2.192 MB / 1.132 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.8379, allocations: 0 / 1.132 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/0.8396, allocations: 1.135 MB / 1.133 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006175/0.8402, allocations: 287.4 kB / 1.133 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000276/0.8405, allocations: 16 kB / 1.133 GB, free: 13.6 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000879/0.8414, allocations: 68.05 kB / 1.134 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.956e-05/0.8415, allocations: 39.83 kB / 1.134 GB, free: 13.49 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.545e-05/0.8415, allocations: 23.98 kB / 1.134 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001298/0.8428, allocations: 0.8169 MB / 1.134 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8428, allocations: 0 / 1.134 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00199/0.8448, allocations: 0.5936 MB / 1.135 GB, free: 12.05 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (boi1.heaCapDry.T) * Number of discrete variables: 6 ($whenCondition1,y.a,y.b,y.last,y.nextEvent,y.nextEventScaled) * Number of discrete states: 6 (y.nextEvent,y.last,y.nextEventScaled,y.b,y.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009321/0.8458, allocations: 387.9 kB / 1.135 GB, free: 11.67 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002246/0.848, allocations: 1.341 MB / 1.137 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/0.8481, allocations: 12.05 kB / 1.137 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006739/0.8487, allocations: 466.1 kB / 1.137 GB, free: 9.789 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004123/0.8529, allocations: 0.6991 MB / 1.138 GB, free: 9.098 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004171/0.8571, allocations: 2.531 MB / 1.14 GB, free: 6.516 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007552/0.8579, allocations: 1.125 MB / 1.141 GB, free: 5.363 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003244/0.8582, allocations: 99.41 kB / 1.141 GB, free: 5.266 MB / 0.8887 GB Notification: Performance of SimCode: time 8.12e-07/0.8582, allocations: 0 / 1.141 GB, free: 5.266 MB / 0.8887 GB Notification: Performance of Templates: time 0.04298/0.9012, allocations: 31.79 MB / 1.173 GB, free: 5.629 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.makefile (rm -f Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & ./Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Boilers_Examples_BoilerPolynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches