Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.009786/0.009786, allocations: 97.66 kB / 15.73 MB, free: 6.047 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.001847/0.001847, allocations: 202.8 kB / 16.68 MB, free: 5.969 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.91/2.91, allocations: 469.8 MB / 0.7425 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.91 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3099, allocations: 159.1 MB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003173/0.313, allocations: 2.051 MB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008413/0.3139, allocations: 446.6 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.314, allocations: 4 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001766/0.3142, allocations: 43.59 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.3143, allocations: 35.67 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.3146, allocations: 95.84 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002822/0.3149, allocations: 292.4 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002212/0.3151, allocations: 108.5 kB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.3152, allocations: 99.58 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.3153, allocations: 107.4 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.116e-05/0.3154, allocations: 32 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.3e-05/0.3154, allocations: 35.94 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.228e-05/0.3155, allocations: 63.78 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.3156, allocations: 119.4 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000397/0.316, allocations: 386.5 kB / 1.224 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.316, allocations: 0 / 1.224 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.172e-06/0.316, allocations: 4 kB / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.094e-06/0.316, allocations: 0 / 1.224 GB, free: 9.883 MB / 0.9825 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.0008317/0.3168, allocations: 0.5494 MB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.3168, allocations: 8.031 kB / 1.225 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.269e-05/0.3169, allocations: 28.8 kB / 1.225 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003928/0.3173, allocations: 277.2 kB / 1.225 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.3173, allocations: 20.75 kB / 1.225 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.919e-05/0.3174, allocations: 16.38 kB / 1.225 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004501/0.3178, allocations: 238.2 kB / 1.225 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.3178, allocations: 3.938 kB / 1.225 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/0.3178, allocations: 7.984 kB / 1.225 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.3178, allocations: 8 kB / 1.226 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003929/0.3182, allocations: 169 kB / 1.226 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.3193, allocations: 0.8368 MB / 1.226 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004902/0.3198, allocations: 174.7 kB / 1.227 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/0.32, allocations: 88.81 kB / 1.227 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.3201, allocations: 7.984 kB / 1.227 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.3201, allocations: 34.56 kB / 1.227 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.3201, allocations: 0 / 1.227 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0006064/0.3207, allocations: 229.5 kB / 1.227 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/0.3208, allocations: 77.11 kB / 1.227 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.321, allocations: 243.2 kB / 1.227 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.321, allocations: 29.7 kB / 1.227 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.3211, allocations: 152.3 kB / 1.227 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.3212, allocations: 55.56 kB / 1.228 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-05/0.3212, allocations: 33.7 kB / 1.228 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.3214, allocations: 330.8 kB / 1.228 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.3215, allocations: 68.83 kB / 1.228 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.3218, allocations: 113 kB / 1.228 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.3221, allocations: 159.2 kB / 1.228 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3221, allocations: 0 / 1.228 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004458/0.3225, allocations: 217.4 kB / 1.228 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.3226, allocations: 4 kB / 1.228 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3226, allocations: 0 / 1.228 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.3226, allocations: 11.92 kB / 1.228 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.3228, allocations: 35.97 kB / 1.228 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.3228, allocations: 7.938 kB / 1.228 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.3229, allocations: 23.94 kB / 1.228 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.3229, allocations: 7.938 kB / 1.228 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002017/0.3231, allocations: 164 kB / 1.229 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001641/0.3233, allocations: 95.45 kB / 1.229 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002643/0.3235, allocations: 135.4 kB / 1.229 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.263e-06/0.3235, allocations: 0 / 1.229 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003411/0.3239, allocations: 181.4 kB / 1.229 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.3239, allocations: 8 kB / 1.229 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-06/0.3239, allocations: 0 / 1.229 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-06/0.3239, allocations: 0 / 1.229 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.324, allocations: 43.95 kB / 1.229 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.324, allocations: 4 kB / 1.229 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.3242, allocations: 19.92 kB / 1.229 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.3242, allocations: 8 kB / 1.229 GB, free: 4.711 MB / 0.9825 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.0001167/0.3243, allocations: 182.3 kB / 1.229 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/0.3243, allocations: 23.86 kB / 1.229 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.941e-05/0.3244, allocations: 25.33 kB / 1.229 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3244, allocations: 0 / 1.229 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.3244, allocations: 4 kB / 1.229 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3244, allocations: 0 / 1.229 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003412/0.3247, allocations: 301.4 kB / 1.23 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3247, allocations: 3.938 kB / 1.23 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001668/0.3249, allocations: 31.97 kB / 1.23 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3249, allocations: 4 kB / 1.23 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.3249, allocations: 3.938 kB / 1.23 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3249, allocations: 0 / 1.23 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3249, allocations: 0 / 1.23 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006212/0.3255, allocations: 350.9 kB / 1.23 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.942e-05/0.3256, allocations: 97.03 kB / 1.23 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.239e-05/0.3256, allocations: 11.94 kB / 1.23 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.3258, allocations: 15.98 kB / 1.23 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.3258, allocations: 11.98 kB / 1.23 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.587e-06/0.3258, allocations: 0 / 1.23 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001648/0.326, allocations: 168.7 kB / 1.23 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.326, allocations: 0 / 1.23 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003585/0.3264, allocations: 71.73 kB / 1.23 GB, free: 3.344 MB / 0.9825 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.0001364/0.3265, allocations: 103.2 kB / 1.23 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005491/0.327, allocations: 216.2 kB / 1.231 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.327, allocations: 0 / 1.231 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.3272, allocations: 67.84 kB / 1.231 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.3276, allocations: 48.95 kB / 1.231 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007625/0.3284, allocations: 396.8 kB / 1.231 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.3287, allocations: 0.7402 MB / 1.232 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.963e-05/0.3287, allocations: 17.53 kB / 1.232 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.481e-05/0.3288, allocations: 19.44 kB / 1.232 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of SimCode: time 5.21e-07/0.3288, allocations: 0 / 1.232 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of Templates: time 0.004906/0.3337, allocations: 2.043 MB / 1.234 GB, free: 15.68 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches