Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001526/0.001526, allocations: 108.8 kB / 16.41 MB, free: 6.512 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.001677/0.001677, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.383/1.383, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.205/2.205, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 63.91 kB / 0.9515 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9096/0.9111, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.06323/0.9744, allocations: 57.27 MB / 1.145 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01752/0.992, allocations: 10.47 MB / 1.155 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003249/0.9953, allocations: 52.44 kB / 1.155 GB, free: 4.898 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002239/0.9976, allocations: 0.6915 MB / 1.155 GB, free: 4.492 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00702/1.005, allocations: 2.08 MB / 1.158 GB, free: 3.262 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004269/1.009, allocations: 1.316 MB / 1.159 GB, free: 2.543 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006633/1.016, allocations: 3.677 MB / 1.162 GB, free: 0.7656 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002138/1.018, allocations: 1.243 MB / 1.164 GB, free: 164 kB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003696/1.021, allocations: 1.354 MB / 1.165 GB, free: 15.53 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001961/1.023, allocations: 1.032 MB / 1.166 GB, free: 15.05 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002455/1.024, allocations: 127.5 kB / 1.166 GB, free: 15.05 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003516/1.027, allocations: 1.237 MB / 1.167 GB, free: 14.61 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004466/1.028, allocations: 351.8 kB / 1.168 GB, free: 14.4 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001112/1.029, allocations: 0.7783 MB / 1.168 GB, free: 13.92 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004495/1.033, allocations: 2.392 MB / 1.171 GB, free: 13.02 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.033, allocations: 0 / 1.171 GB, free: 13.02 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.475e-06/1.033, allocations: 0.6562 kB / 1.171 GB, free: 13.02 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.896e-05/1.033, allocations: 0.8438 kB / 1.171 GB, free: 13.02 MB / 0.92 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.003682/1.037, allocations: 1.883 MB / 1.173 GB, free: 11.6 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/1.037, allocations: 8.75 kB / 1.173 GB, free: 11.6 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005079/1.038, allocations: 170 kB / 1.173 GB, free: 11.52 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002141/1.04, allocations: 1.196 MB / 1.174 GB, free: 10.57 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.273e-05/1.04, allocations: 72.36 kB / 1.174 GB, free: 10.54 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/1.04, allocations: 89.28 kB / 1.174 GB, free: 10.51 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/1.042, allocations: 0.9597 MB / 1.175 GB, free: 9.906 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/1.042, allocations: 1.156 kB / 1.175 GB, free: 9.906 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-05/1.042, allocations: 37.47 kB / 1.175 GB, free: 9.879 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.314e-05/1.042, allocations: 22.5 kB / 1.175 GB, free: 9.879 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/1.043, allocations: 0.6759 MB / 1.176 GB, free: 9.539 MB / 0.92 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.005297/1.048, allocations: 4.069 MB / 1.18 GB, free: 6.082 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007545/1.049, allocations: 401.6 kB / 1.18 GB, free: 5.887 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004371/1.05, allocations: 266.8 kB / 1.18 GB, free: 5.754 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004803/1.05, allocations: 0.4994 MB / 1.181 GB, free: 5.172 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007188/1.051, allocations: 360 kB / 1.181 GB, free: 4.922 MB / 0.92 GB Notification: Performance of pre-optimization done (n=52): time 2.665e-06/1.051, allocations: 3.938 kB / 1.181 GB, free: 4.918 MB / 0.92 GB Notification: Performance of matching and sorting (n=54): time 0.005197/1.056, allocations: 1.97 MB / 1.183 GB, free: 3.641 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/1.056, allocations: 139.3 kB / 1.183 GB, free: 3.48 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/1.058, allocations: 1.11 MB / 1.184 GB, free: 2.871 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.237e-05/1.058, allocations: 38.92 kB / 1.184 GB, free: 2.832 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004881/1.058, allocations: 0.5802 MB / 1.185 GB, free: 2.316 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/1.059, allocations: 181.5 kB / 1.185 GB, free: 2.16 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002174/1.059, allocations: 139.6 kB / 1.185 GB, free: 2.078 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001181/1.059, allocations: 336.8 kB / 1.186 GB, free: 1.75 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003687/1.059, allocations: 223.9 kB / 1.186 GB, free: 1.641 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000582/1.06, allocations: 433.3 kB / 1.186 GB, free: 1.277 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008816/1.061, allocations: 0.6538 MB / 1.187 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/1.061, allocations: 1.281 kB / 1.187 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001501/1.062, allocations: 0.8909 MB / 1.188 GB, free: 336 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.482e-05/1.062, allocations: 43.19 kB / 1.188 GB, free: 296 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/1.062, allocations: 4.188 kB / 1.188 GB, free: 296 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004025/1.063, allocations: 110.4 kB / 1.188 GB, free: 240 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004232/1.063, allocations: 123.6 kB / 1.188 GB, free: 208 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/1.065, allocations: 2.37 MB / 1.19 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009891/1.066, allocations: 36.59 kB / 1.19 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-05/1.066, allocations: 40.08 kB / 1.19 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008036/1.067, allocations: 471.5 kB / 1.191 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005349/1.068, allocations: 427.8 kB / 1.191 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008584/1.069, allocations: 0.6427 MB / 1.192 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.367e-06/1.069, allocations: 1.156 kB / 1.192 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of matching and sorting (n=86) (initialization_lambda0): time 0.001481/1.07, allocations: 0.878 MB / 1.193 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.504e-05/1.07, allocations: 39.41 kB / 1.193 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/1.07, allocations: 3.938 kB / 1.193 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003373/1.07, allocations: 126.8 kB / 1.193 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003885/1.071, allocations: 118.2 kB / 1.193 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/1.073, allocations: 2.375 MB / 1.195 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/1.074, allocations: 48.17 kB / 1.195 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.057e-05/1.074, allocations: 31.7 kB / 1.195 GB, free: 9.812 MB / 0.9356 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.0003063/1.074, allocations: 257.1 kB / 1.196 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002086/1.074, allocations: 131.6 kB / 1.196 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/1.076, allocations: 0.8062 MB / 1.196 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001061/1.077, allocations: 0.7102 MB / 1.197 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/1.077, allocations: 0 / 1.197 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005526/1.078, allocations: 253.7 kB / 1.197 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001828/1.078, allocations: 16.58 kB / 1.197 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000593/1.078, allocations: 30 kB / 1.197 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.728e-05/1.078, allocations: 31.33 kB / 1.197 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001547/1.08, allocations: 0.8484 MB / 1.198 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001522/1.082, allocations: 1.11 MB / 1.199 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003781/1.082, allocations: 247.9 kB / 1.2 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00124/1.083, allocations: 0.7748 MB / 1.2 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of Backend: time 6.41e-07/1.083, allocations: 3.938 kB / 1.2 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003698/1.087, allocations: 1.641 MB / 1.202 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of SimCode: time 0.00502/1.092, allocations: 2.946 MB / 1.205 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of Templates: time 0.04597/1.138, allocations: 27.86 MB / 1.232 GB, free: 9.84 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.makefile (rm -f Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & ./Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Boilers_Examples_BoilerPolynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches