Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001342/0.001342, allocations: 108 kB / 15.61 MB, free: 152 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.001409/0.001409, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.417/1.417, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.749/2.749, allocations: 472.6 MB / 0.7451 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 62.05 kB / 0.912 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3265, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003335/0.3299, allocations: 2.049 MB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007691/0.3307, allocations: 454.6 kB / 1.071 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.3309, allocations: 4 kB / 1.071 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001476/0.331, allocations: 35.59 kB / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.928e-05/0.3311, allocations: 39.66 kB / 1.071 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.3314, allocations: 103.9 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000307/0.3317, allocations: 288.4 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002613/0.332, allocations: 156.5 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.3321, allocations: 99.58 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.3322, allocations: 103.4 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.335e-05/0.3323, allocations: 36 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.595e-05/0.3323, allocations: 32 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.2e-05/0.3324, allocations: 67.78 kB / 1.072 GB, free: 7 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.3325, allocations: 123.4 kB / 1.072 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003477/0.3328, allocations: 367.1 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.3329, allocations: 3.984 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.695e-06/0.3329, allocations: 0 / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.3329, allocations: 3.938 kB / 1.072 GB, free: 6.512 MB / 0.8262 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.0008136/0.3337, allocations: 0.538 MB / 1.073 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3337, allocations: 12.03 kB / 1.073 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.044e-05/0.3338, allocations: 28.56 kB / 1.073 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.3342, allocations: 272.3 kB / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.3342, allocations: 12.81 kB / 1.073 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.3342, allocations: 24.38 kB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004412/0.3347, allocations: 230.3 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.3347, allocations: 3.938 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.3347, allocations: 11.94 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.3347, allocations: 4 kB / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004397/0.3352, allocations: 169 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.3363, allocations: 0.8482 MB / 1.074 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005018/0.3368, allocations: 182.7 kB / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.3371, allocations: 92.81 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.3371, allocations: 0 / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.3371, allocations: 42.55 kB / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.3371, allocations: 0 / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.000641/0.3378, allocations: 229.7 kB / 1.075 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.3379, allocations: 77.11 kB / 1.075 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/0.3382, allocations: 247.1 kB / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.3382, allocations: 29.7 kB / 1.075 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.3383, allocations: 152.1 kB / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.3384, allocations: 51.34 kB / 1.075 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.3384, allocations: 37.7 kB / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.3385, allocations: 330.8 kB / 1.075 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002241/0.3388, allocations: 68.83 kB / 1.076 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.339, allocations: 109.1 kB / 1.076 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/0.3393, allocations: 158.8 kB / 1.076 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3393, allocations: 4 kB / 1.076 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004602/0.3398, allocations: 213.2 kB / 1.076 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3398, allocations: 13.59 kB / 1.076 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3399, allocations: 0 / 1.076 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3399, allocations: 7.938 kB / 1.076 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.34, allocations: 35.97 kB / 1.076 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.3401, allocations: 0 / 1.076 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.3402, allocations: 27.83 kB / 1.076 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.3402, allocations: 7.984 kB / 1.076 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002037/0.3404, allocations: 156.1 kB / 1.076 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001503/0.3406, allocations: 101 kB / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002801/0.3409, allocations: 131.4 kB / 1.076 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.162e-06/0.3409, allocations: 0 / 1.076 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003425/0.3412, allocations: 181.4 kB / 1.077 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.288e-06/0.3412, allocations: 11.98 kB / 1.077 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-06/0.3412, allocations: 0 / 1.077 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-06/0.3413, allocations: 3.938 kB / 1.077 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.3414, allocations: 32.02 kB / 1.077 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.3414, allocations: 11.94 kB / 1.077 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.3415, allocations: 15.89 kB / 1.077 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.3415, allocations: 12 kB / 1.077 GB, free: 1.34 MB / 0.8262 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.0001212/0.3417, allocations: 184.2 kB / 1.077 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.42e-05/0.3417, allocations: 19.81 kB / 1.077 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.012e-05/0.3418, allocations: 25.33 kB / 1.077 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3418, allocations: 0 / 1.077 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3418, allocations: 4 kB / 1.077 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.3418, allocations: 0 / 1.077 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/0.3421, allocations: 301.4 kB / 1.077 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3421, allocations: 0 / 1.077 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.3423, allocations: 35.91 kB / 1.077 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3423, allocations: 4 kB / 1.077 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.3423, allocations: 3.938 kB / 1.077 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3423, allocations: 0 / 1.077 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3423, allocations: 0 / 1.077 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006109/0.3429, allocations: 346.6 kB / 1.078 GB, free: 376 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.013e-05/0.343, allocations: 92.95 kB / 1.078 GB, free: 264 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.343, allocations: 15.92 kB / 1.078 GB, free: 248 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.3432, allocations: 15.98 kB / 1.078 GB, free: 232 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.3432, allocations: 12.05 kB / 1.078 GB, free: 220 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.3432, allocations: 4 kB / 1.078 GB, free: 216 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001605/0.3434, allocations: 164.7 kB / 1.078 GB, free: 52 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3434, allocations: 3.938 kB / 1.078 GB, free: 48 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003829/0.3438, allocations: 67.73 kB / 1.078 GB, free: 15.98 MB / 0.8419 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.0001245/0.3439, allocations: 103.7 kB / 1.078 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005936/0.3445, allocations: 227.7 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3445, allocations: 0 / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.3447, allocations: 75.89 kB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000453/0.3452, allocations: 35.69 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007794/0.346, allocations: 393.2 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.3463, allocations: 0.7402 MB / 1.079 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.059e-05/0.3464, allocations: 21.52 kB / 1.08 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.66e-05/0.3465, allocations: 23.44 kB / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.3465, allocations: 0 / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of Templates: time 0.004882/0.3514, allocations: 2.009 MB / 1.082 GB, free: 12.33 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches