Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conBoiRet.TSet|conBoiRet.TRet|conBoiRet.yVal",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conBoiRet.TSet|conBoiRet.TRet|conBoiRet.yVal",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008773/0.0008771, allocations: 99.58 kB / 16.02 MB, free: 76 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.001342/0.001342, allocations: 187.4 kB / 16.92 MB, free: 6.75 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.472/1.472, 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 9.1.2-maint.9.1.x/package.mo): time 2.783/2.783, allocations: 390.9 MB / 0.667 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004034/0.0004037, allocations: 8 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7913/0.7918, allocations: 142.4 MB / 0.9557 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.002527/0.7943, allocations: 1.728 MB / 0.9574 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007886/0.7951, allocations: 424 kB / 0.9578 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.7953, allocations: 2.844 kB / 0.9578 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.7955, allocations: 30.09 kB / 0.9578 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.7956, allocations: 19.22 kB / 0.9579 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.7958, allocations: 98.47 kB / 0.958 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003109/0.7961, allocations: 255.9 kB / 0.9582 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003126/0.7965, allocations: 155.6 kB / 0.9583 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.7966, allocations: 58.97 kB / 0.9584 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.7967, allocations: 76.73 kB / 0.9585 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.7967, allocations: 5.375 kB / 0.9585 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.096e-05/0.7968, allocations: 5.438 kB / 0.9585 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.641e-05/0.7968, allocations: 34.3 kB / 0.9585 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.71e-05/0.7969, allocations: 109.4 kB / 0.9586 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002766/0.7972, allocations: 297.4 kB / 0.9589 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.7972, allocations: 4 kB / 0.9589 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.607e-06/0.7972, allocations: 5.188 kB / 0.9589 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.7972, allocations: 0 / 0.9589 GB, free: 5.078 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0008176/0.798, allocations: 0.5012 MB / 0.9594 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.7981, allocations: 10.28 kB / 0.9594 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.217e-05/0.7982, allocations: 29.06 kB / 0.9594 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.7985, allocations: 270 kB / 0.9597 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.7985, allocations: 20.47 kB / 0.9597 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.196e-05/0.7986, allocations: 21.5 kB / 0.9597 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004529/0.799, allocations: 244.6 kB / 0.96 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.799, allocations: 3.938 kB / 0.96 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.7991, allocations: 9.812 kB / 0.96 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.7991, allocations: 9.656 kB / 0.96 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004442/0.7995, allocations: 195 kB / 0.9602 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.8006, allocations: 0.8604 MB / 0.961 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005109/0.8011, allocations: 200.4 kB / 0.9612 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.8013, allocations: 107.8 kB / 0.9613 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.8013, allocations: 1.375 kB / 0.9613 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.8014, allocations: 31.94 kB / 0.9613 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/0.8014, allocations: 0 / 0.9613 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0006612/0.802, allocations: 256.5 kB / 0.9616 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.8021, allocations: 82.83 kB / 0.9617 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.8023, allocations: 235.1 kB / 0.9619 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.8024, allocations: 27.05 kB / 0.9619 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.696e-05/0.8025, allocations: 157.1 kB / 0.9621 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.8025, allocations: 39.61 kB / 0.9621 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.8025, allocations: 22.67 kB / 0.9621 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.716e-05/0.8026, allocations: 327 kB / 0.9624 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.8028, allocations: 81.14 kB / 0.9625 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.803, allocations: 118.6 kB / 0.9626 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003894/0.8034, allocations: 180.8 kB / 0.9628 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.8034, allocations: 0 / 0.9628 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004704/0.8039, allocations: 221.8 kB / 0.963 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.384e-05/0.804, allocations: 121.7 kB / 0.9631 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.804, allocations: 4.938 kB / 0.9631 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.804, allocations: 1.906 kB / 0.9631 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.8042, allocations: 39.45 kB / 0.9632 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.8042, allocations: 1.094 kB / 0.9632 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.8043, allocations: 42.72 kB / 0.9632 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.8044, allocations: 4.031 kB / 0.9632 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.745e-06/0.8044, allocations: 6 kB / 0.9632 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003306/0.8047, allocations: 152.8 kB / 0.9634 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-06/0.8047, allocations: 0.875 kB / 0.9634 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.707e-06/0.8047, allocations: 1.781 kB / 0.9634 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.8049, allocations: 34.02 kB / 0.9634 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.8049, allocations: 1.875 kB / 0.9634 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.805, allocations: 33.2 kB / 0.9634 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.805, allocations: 7.75 kB / 0.9634 GB, free: 1.531 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (conBoiRet.conPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000128/0.8052, allocations: 218 kB / 0.9637 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.366e-05/0.8052, allocations: 24.61 kB / 0.9637 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.649e-05/0.8053, allocations: 18.03 kB / 0.9637 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.8053, allocations: 1.25 kB / 0.9637 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.8053, allocations: 5.062 kB / 0.9637 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.8053, allocations: 0 / 0.9637 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003019/0.8056, allocations: 304.8 kB / 0.964 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.8056, allocations: 0 / 0.964 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.8058, allocations: 41.53 kB / 0.964 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.8058, allocations: 1.438 kB / 0.964 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.8058, allocations: 4 kB / 0.964 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.8058, allocations: 5.156 kB / 0.964 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.8058, allocations: 3.938 kB / 0.964 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006986/0.8065, allocations: 378 kB / 0.9644 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.754e-05/0.8066, allocations: 101.3 kB / 0.9645 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.8066, allocations: 1.438 kB / 0.9645 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.8068, allocations: 21.14 kB / 0.9645 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.8068, allocations: 10.92 kB / 0.9645 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.8069, allocations: 7.688 kB / 0.9645 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001716/0.807, allocations: 170.2 kB / 0.9647 GB, free: 468 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.807, allocations: 0 / 0.9647 GB, free: 468 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003594/0.8074, allocations: 68.05 kB / 0.9648 GB, free: 444 kB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conBoiRet.conPID.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000141/0.8076, allocations: 101.6 kB / 0.9649 GB, free: 352 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006604/0.8082, allocations: 251.9 kB / 0.9651 GB, free: 248 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.8082, allocations: 4.125 kB / 0.9651 GB, free: 244 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.8084, allocations: 75.56 kB / 0.9652 GB, free: 216 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/0.8089, allocations: 38.55 kB / 0.9652 GB, free: 196 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008972/0.8098, allocations: 499.7 kB / 0.9657 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.8101, allocations: 0.7387 MB / 0.9664 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.006e-05/0.8102, allocations: 22.91 kB / 0.9664 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.8102, allocations: 0 / 0.9664 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of Templates: time 0.005104/0.8153, allocations: 2.525 MB / 0.9689 GB, free: 13.77 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches