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.001654/0.001654, allocations: 100.1 kB / 15.88 MB, free: 12 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.002173/0.002173, allocations: 198.8 kB / 16.79 MB, free: 6.809 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.433/1.433, allocations: 222.9 MB / 240.5 MB, free: 4.516 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.485/2.485, allocations: 390.2 MB / 0.6649 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 59.91 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8747/0.8762, allocations: 140.4 MB / 0.9496 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003281/0.8795, allocations: 2.092 MB / 0.9516 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007234/0.8803, allocations: 424 kB / 0.952 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.8805, allocations: 3.781 kB / 0.952 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.8807, allocations: 34.31 kB / 0.9521 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.881e-05/0.8808, allocations: 26.36 kB / 0.9521 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.881, allocations: 95.5 kB / 0.9522 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002536/0.8813, allocations: 259.9 kB / 0.9524 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002643/0.8815, allocations: 141.7 kB / 0.9526 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.361e-05/0.8816, allocations: 83.97 kB / 0.9527 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.8817, allocations: 94.27 kB / 0.9527 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.8818, allocations: 12.25 kB / 0.9528 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.23e-05/0.8818, allocations: 16.31 kB / 0.9528 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.191e-05/0.8819, allocations: 38.69 kB / 0.9528 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.397e-05/0.8819, allocations: 99.09 kB / 0.9529 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.8822, allocations: 309.2 kB / 0.9532 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.8822, allocations: 0 / 0.9532 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.72e-07/0.8822, allocations: 3.938 kB / 0.9532 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.8822, allocations: 0 / 0.9532 GB, free: 6.348 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.0008167/0.883, allocations: 0.5426 MB / 0.9537 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.8831, allocations: 9.844 kB / 0.9537 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.916e-05/0.8832, allocations: 29.03 kB / 0.9538 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.8835, allocations: 270.3 kB / 0.954 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.8835, allocations: 16.45 kB / 0.954 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.773e-05/0.8835, allocations: 20.97 kB / 0.9541 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004525/0.884, allocations: 239.7 kB / 0.9543 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.884, allocations: 4.906 kB / 0.9543 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.884, allocations: 10.09 kB / 0.9543 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.8841, allocations: 5.531 kB / 0.9543 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004118/0.8845, allocations: 173 kB / 0.9545 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.8855, allocations: 0.8423 MB / 0.9553 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005107/0.8861, allocations: 189.5 kB / 0.9555 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.8863, allocations: 89.75 kB / 0.9556 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.8863, allocations: 2.219 kB / 0.9556 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.8864, allocations: 39.72 kB / 0.9556 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/0.8864, allocations: 0 / 0.9556 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0006282/0.887, allocations: 234.6 kB / 0.9558 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.887, allocations: 79.7 kB / 0.9559 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.8873, allocations: 238.5 kB / 0.9561 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.8873, allocations: 26.98 kB / 0.9562 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.286e-05/0.8874, allocations: 153 kB / 0.9563 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/0.8875, allocations: 39.39 kB / 0.9563 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.843e-05/0.8875, allocations: 34.14 kB / 0.9564 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.289e-05/0.8876, allocations: 328.6 kB / 0.9567 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.8878, allocations: 72.94 kB / 0.9568 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/0.888, allocations: 106.8 kB / 0.9569 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003438/0.8883, allocations: 163.5 kB / 0.957 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.8883, allocations: 1.125 kB / 0.957 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004349/0.8888, allocations: 204 kB / 0.9572 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.8888, allocations: 9.938 kB / 0.9572 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.8888, allocations: 6 kB / 0.9572 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.8888, allocations: 9.047 kB / 0.9572 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.889, allocations: 35.27 kB / 0.9573 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.889, allocations: 1.344 kB / 0.9573 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.8892, allocations: 27.88 kB / 0.9573 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.8892, allocations: 12.59 kB / 0.9573 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001951/0.8894, allocations: 155.2 kB / 0.9575 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001453/0.8895, allocations: 93.03 kB / 0.9575 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002451/0.8898, allocations: 136.3 kB / 0.9577 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/0.8898, allocations: 0 / 0.9577 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003386/0.8901, allocations: 183 kB / 0.9579 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.288e-06/0.8902, allocations: 6 kB / 0.9579 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-06/0.8902, allocations: 1.281 kB / 0.9579 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-06/0.8902, allocations: 1.406 kB / 0.9579 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.8903, allocations: 43.78 kB / 0.9579 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.8903, allocations: 5.859 kB / 0.9579 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.8904, allocations: 22.77 kB / 0.9579 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.8905, allocations: 3.656 kB / 0.9579 GB, free: 2.559 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 8.459e-05/0.8905, allocations: 183.8 kB / 0.9581 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.8906, allocations: 20.69 kB / 0.9581 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.934e-05/0.8907, allocations: 30.73 kB / 0.9582 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.8907, allocations: 0 / 0.9582 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/0.8907, allocations: 9.781 kB / 0.9582 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.8907, allocations: 0 / 0.9582 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002823/0.891, allocations: 304 kB / 0.9585 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.891, allocations: 3.938 kB / 0.9585 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.8911, allocations: 25.98 kB / 0.9585 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.8912, allocations: 0 / 0.9585 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.8912, allocations: 5.312 kB / 0.9585 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.8912, allocations: 1.375 kB / 0.9585 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.8912, allocations: 3.938 kB / 0.9585 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006217/0.8918, allocations: 353.9 kB / 0.9588 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.961e-05/0.8919, allocations: 92.95 kB / 0.9589 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.8919, allocations: 9.312 kB / 0.9589 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.8921, allocations: 24.22 kB / 0.959 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.8921, allocations: 8.125 kB / 0.959 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.8921, allocations: 2.75 kB / 0.959 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001472/0.8923, allocations: 169.9 kB / 0.9591 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8923, allocations: 0 / 0.9591 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003759/0.8927, allocations: 68.41 kB / 0.9592 GB, free: 1.488 MB / 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.0001139/0.8928, allocations: 97.59 kB / 0.9593 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005841/0.8934, allocations: 230.7 kB / 0.9595 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.8934, allocations: 1.125 kB / 0.9595 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001772/0.8936, allocations: 71.23 kB / 0.9596 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004698/0.894, allocations: 37.34 kB / 0.9596 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007992/0.8948, allocations: 491.3 kB / 0.9601 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001891/0.8951, allocations: 0.738 MB / 0.9608 GB, free: 144 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.69e-05/0.8951, allocations: 18.25 kB / 0.9608 GB, free: 136 kB / 0.7169 GB Notification: Performance of SimCode: time 4.21e-07/0.8951, allocations: 1.156 kB / 0.9608 GB, free: 136 kB / 0.7169 GB Notification: Performance of Templates: time 0.005028/0.9002, allocations: 2.557 MB / 0.9633 GB, free: 14.8 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