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.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.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.00119/0.001191, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001182/0.001182, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.391/1.391, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.286/2.286, allocations: 390.3 MB / 0.6653 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 64.2 kB / 0.8132 GB, free: 33.05 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3352, allocations: 140.4 MB / 0.9503 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.00349/0.3387, allocations: 2.053 MB / 0.9523 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008354/0.3396, allocations: 446.7 kB / 0.9527 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.3397, allocations: 8 kB / 0.9527 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.3399, allocations: 47.47 kB / 0.9528 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.3401, allocations: 35.67 kB / 0.9528 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.3403, allocations: 99.84 kB / 0.9529 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002821/0.3406, allocations: 284.5 kB / 0.9532 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002792/0.3409, allocations: 160.5 kB / 0.9533 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.341, allocations: 99.58 kB / 0.9534 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.3412, allocations: 99.48 kB / 0.9535 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.782e-05/0.3412, allocations: 36 kB / 0.9535 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.853e-05/0.3413, allocations: 32 kB / 0.9536 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.363e-05/0.3413, allocations: 67.78 kB / 0.9536 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.3414, allocations: 123.3 kB / 0.9537 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003505/0.3418, allocations: 375.1 kB / 0.9541 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3418, allocations: 0 / 0.9541 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3418, allocations: 0 / 0.9541 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.3418, allocations: 0 / 0.9541 GB, free: 4.918 MB / 0.7325 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.0008403/0.3427, allocations: 0.5432 MB / 0.9546 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.3427, allocations: 12.03 kB / 0.9546 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.396e-05/0.3428, allocations: 28.64 kB / 0.9547 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003622/0.3432, allocations: 264.3 kB / 0.9549 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.3432, allocations: 12.81 kB / 0.9549 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.368e-05/0.3433, allocations: 28.31 kB / 0.955 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005635/0.3438, allocations: 234.3 kB / 0.9552 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.3439, allocations: 3.938 kB / 0.9552 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.399e-05/0.3439, allocations: 12 kB / 0.9552 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/0.3439, allocations: 4 kB / 0.9552 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006009/0.3445, allocations: 177 kB / 0.9554 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/0.3463, allocations: 0.8546 MB / 0.9562 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006941/0.347, allocations: 182.8 kB / 0.9564 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003187/0.3473, allocations: 96.75 kB / 0.9565 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.3474, allocations: 0 / 0.9565 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.3474, allocations: 38.56 kB / 0.9565 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.3474, allocations: 224 / 0.9565 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12): time 0.0009217/0.3484, allocations: 225.3 kB / 0.9567 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.761e-05/0.3485, allocations: 81.11 kB / 0.9568 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003418/0.3488, allocations: 227.1 kB / 0.957 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.3488, allocations: 29.7 kB / 0.957 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.349, allocations: 160 kB / 0.9572 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.991e-05/0.3491, allocations: 47.44 kB / 0.9572 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.515e-05/0.3492, allocations: 29.72 kB / 0.9573 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3493, allocations: 334.8 kB / 0.9576 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002741/0.3496, allocations: 80.66 kB / 0.9577 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002955/0.3499, allocations: 109.1 kB / 0.9578 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005083/0.3505, allocations: 159.2 kB / 0.9579 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3505, allocations: 0 / 0.9579 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006423/0.3511, allocations: 205.4 kB / 0.9581 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.3512, allocations: 4 kB / 0.9581 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.3512, allocations: 0 / 0.9581 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.3512, allocations: 7.938 kB / 0.9581 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.3515, allocations: 43.91 kB / 0.9582 GB, free: 476 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.3515, allocations: 0 / 0.9582 GB, free: 476 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.3517, allocations: 27.92 kB / 0.9582 GB, free: 448 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.3517, allocations: 8 kB / 0.9582 GB, free: 440 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003057/0.352, allocations: 159.6 kB / 0.9584 GB, free: 280 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002108/0.3522, allocations: 91.78 kB / 0.9584 GB, free: 172 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003564/0.3526, allocations: 139.4 kB / 0.9586 GB, free: 20 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.462e-06/0.3526, allocations: 0 / 0.9586 GB, free: 20 kB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0005267/0.3532, allocations: 185.3 kB / 0.9588 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.3532, allocations: 12 kB / 0.9588 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-06/0.3532, allocations: 0 / 0.9588 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-06/0.3532, allocations: 0 / 0.9588 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.3534, allocations: 35.86 kB / 0.9588 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3534, allocations: 4 kB / 0.9588 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.3536, allocations: 15.98 kB / 0.9588 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.3536, allocations: 7.984 kB / 0.9588 GB, free: 15.76 MB / 0.7481 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.0001686/0.3538, allocations: 196.1 kB / 0.959 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.936e-05/0.3539, allocations: 19.72 kB / 0.959 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.128e-05/0.354, allocations: 25.34 kB / 0.9591 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.354, allocations: 3.938 kB / 0.9591 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.354, allocations: 3.984 kB / 0.9591 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.354, allocations: 0 / 0.9591 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000465/0.3545, allocations: 297.5 kB / 0.9594 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3545, allocations: 0 / 0.9594 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/0.3547, allocations: 27.97 kB / 0.9594 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.3547, allocations: 7.938 kB / 0.9594 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.3547, allocations: 7.938 kB / 0.9594 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3548, allocations: 0 / 0.9594 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3548, allocations: 0 / 0.9594 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008745/0.3556, allocations: 347.1 kB / 0.9597 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.792e-05/0.3558, allocations: 101 kB / 0.9598 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/0.3558, allocations: 11.94 kB / 0.9598 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.3561, allocations: 11.98 kB / 0.9598 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/0.3561, allocations: 11.98 kB / 0.9599 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.3562, allocations: 0 / 0.9599 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002315/0.3564, allocations: 168.7 kB / 0.96 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.024e-06/0.3564, allocations: 0 / 0.96 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005746/0.357, allocations: 71.62 kB / 0.9601 GB, free: 14.38 MB / 0.7481 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.0001588/0.3572, allocations: 107.2 kB / 0.9602 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008187/0.358, allocations: 231.7 kB / 0.9604 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.358, allocations: 0 / 0.9604 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002523/0.3583, allocations: 72.33 kB / 0.9605 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000604/0.3589, allocations: 29.42 kB / 0.9605 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.36, allocations: 426.9 kB / 0.9609 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004316/0.3604, allocations: 0.7362 MB / 0.9616 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.857e-05/0.3605, allocations: 23.44 kB / 0.9617 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of SimCode: time 4.21e-07/0.3605, allocations: 0 / 0.9617 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of Templates: time 0.0059/0.3664, allocations: 2.552 MB / 0.9641 GB, free: 10.16 MB / 0.7481 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