Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002034/0.002034, allocations: 189.5 kB / 22.22 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.099/3.099, allocations: 496 MB / 0.7835 GB, free: 33.64 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=2500,variableFilter="time|conBoiRet.TSet|conBoiRet.TRet|conBoiRet.yVal",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conBoiRet.TSet|conBoiRet.TRet|conBoiRet.yVal",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 64.69 kB / 1.138 GB, free: 33.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3035, allocations: 173.6 MB / 1.307 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003514/0.307, allocations: 2.075 MB / 1.309 GB, free: 15.76 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0009421/0.3079, allocations: 446.8 kB / 1.31 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.3081, allocations: 7.938 kB / 1.31 GB, free: 15.31 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.3083, allocations: 47.53 kB / 1.31 GB, free: 15.27 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.3084, allocations: 35.66 kB / 1.31 GB, free: 15.23 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.3087, allocations: 107.8 kB / 1.31 GB, free: 15.12 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000355/0.3091, allocations: 288.4 kB / 1.31 GB, free: 14.84 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002375/0.3093, allocations: 101.1 kB / 1.31 GB, free: 14.74 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.3094, allocations: 99.59 kB / 1.31 GB, free: 14.64 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.3096, allocations: 115.4 kB / 1.31 GB, free: 14.53 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.897e-05/0.3096, allocations: 35.94 kB / 1.311 GB, free: 14.5 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.264e-05/0.3097, allocations: 36 kB / 1.311 GB, free: 14.46 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.321e-05/0.3097, allocations: 59.84 kB / 1.311 GB, free: 14.4 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.3099, allocations: 123.3 kB / 1.311 GB, free: 14.28 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004494/0.3103, allocations: 390.5 kB / 1.311 GB, free: 13.9 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3103, allocations: 0 / 1.311 GB, free: 13.9 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3103, allocations: 0 / 1.311 GB, free: 13.9 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.3103, allocations: 0 / 1.311 GB, free: 13.9 MB / 1.014 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.0009555/0.3113, allocations: 0.4906 MB / 1.312 GB, free: 13.38 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.3113, allocations: 12.03 kB / 1.312 GB, free: 13.36 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.444e-05/0.3114, allocations: 28.8 kB / 1.312 GB, free: 13.34 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003758/0.3118, allocations: 215.4 kB / 1.312 GB, free: 13.1 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.3118, allocations: 16.81 kB / 1.312 GB, free: 13.08 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.089e-05/0.3118, allocations: 20.38 kB / 1.312 GB, free: 13.06 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005238/0.3123, allocations: 234.2 kB / 1.312 GB, free: 12.82 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3124, allocations: 7.938 kB / 1.312 GB, free: 12.81 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/0.3124, allocations: 11.98 kB / 1.312 GB, free: 12.8 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.3124, allocations: 4 kB / 1.312 GB, free: 12.8 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004681/0.3129, allocations: 165 kB / 1.312 GB, free: 12.64 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.3141, allocations: 0.8098 MB / 1.313 GB, free: 11.77 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005393/0.3147, allocations: 174.7 kB / 1.313 GB, free: 11.59 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/0.3149, allocations: 96.78 kB / 1.313 GB, free: 11.49 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.3149, allocations: 4 kB / 1.313 GB, free: 11.49 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.315, allocations: 30.56 kB / 1.313 GB, free: 11.45 MB / 1.014 GB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.315, allocations: 0 / 1.313 GB, free: 11.45 MB / 1.014 GB Notification: Performance of matching and sorting (n=12): time 0.000706/0.3157, allocations: 229.4 kB / 1.314 GB, free: 11.22 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.3157, allocations: 85.31 kB / 1.314 GB, free: 11.12 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.316, allocations: 231.2 kB / 1.314 GB, free: 10.88 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.316, allocations: 33.64 kB / 1.314 GB, free: 10.84 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.3161, allocations: 152.2 kB / 1.314 GB, free: 10.69 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.111e-05/0.3162, allocations: 43.64 kB / 1.314 GB, free: 10.64 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.796e-05/0.3163, allocations: 33.7 kB / 1.314 GB, free: 10.61 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3164, allocations: 334.8 kB / 1.314 GB, free: 10.27 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.3166, allocations: 64.83 kB / 1.315 GB, free: 10.2 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.3169, allocations: 110.5 kB / 1.315 GB, free: 10.08 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003912/0.3173, allocations: 159.3 kB / 1.315 GB, free: 9.91 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3173, allocations: 0 / 1.315 GB, free: 9.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004982/0.3178, allocations: 214.6 kB / 1.315 GB, free: 9.695 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.3178, allocations: 8 kB / 1.315 GB, free: 9.688 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.3178, allocations: 0 / 1.315 GB, free: 9.688 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.3178, allocations: 7.938 kB / 1.315 GB, free: 9.68 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.318, allocations: 39.91 kB / 1.315 GB, free: 9.641 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.318, allocations: 4 kB / 1.315 GB, free: 9.637 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.3181, allocations: 27.97 kB / 1.315 GB, free: 9.609 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.3181, allocations: 11.94 kB / 1.315 GB, free: 9.598 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002187/0.3184, allocations: 152.1 kB / 1.315 GB, free: 9.445 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000181/0.3185, allocations: 98.05 kB / 1.315 GB, free: 9.332 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002954/0.3188, allocations: 142 kB / 1.315 GB, free: 9.184 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.142e-06/0.3188, allocations: 0 / 1.315 GB, free: 9.184 MB / 1.014 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003874/0.3192, allocations: 181.4 kB / 1.316 GB, free: 9 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.744e-06/0.3192, allocations: 4.094 kB / 1.316 GB, free: 8.996 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.3192, allocations: 8 kB / 1.316 GB, free: 8.988 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-06/0.3192, allocations: 0 / 1.316 GB, free: 8.988 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.3194, allocations: 35.86 kB / 1.316 GB, free: 8.953 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.3194, allocations: 4 kB / 1.316 GB, free: 8.949 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.3195, allocations: 19.92 kB / 1.316 GB, free: 8.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.3195, allocations: 7.938 kB / 1.316 GB, free: 8.922 MB / 1.014 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.0001279/0.3196, allocations: 188.2 kB / 1.316 GB, free: 8.73 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.716e-05/0.3197, allocations: 27.84 kB / 1.316 GB, free: 8.703 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.503e-05/0.3197, allocations: 25.34 kB / 1.316 GB, free: 8.68 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.3198, allocations: 4 kB / 1.316 GB, free: 8.676 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3198, allocations: 0 / 1.316 GB, free: 8.676 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3198, allocations: 3.984 kB / 1.316 GB, free: 8.672 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003369/0.3201, allocations: 268.6 kB / 1.316 GB, free: 8.367 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3201, allocations: 3.938 kB / 1.316 GB, free: 8.363 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.3203, allocations: 27.97 kB / 1.316 GB, free: 8.336 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.3203, allocations: 0 / 1.316 GB, free: 8.336 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.3203, allocations: 11.94 kB / 1.316 GB, free: 8.324 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3203, allocations: 4 kB / 1.316 GB, free: 8.32 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3203, allocations: 0 / 1.316 GB, free: 8.32 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007062/0.321, allocations: 343.7 kB / 1.317 GB, free: 7.969 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.321, allocations: 27.88 kB / 1.317 GB, free: 7.941 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.3211, allocations: 11.94 kB / 1.317 GB, free: 7.93 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.3212, allocations: 19.92 kB / 1.317 GB, free: 7.91 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.3213, allocations: 3.984 kB / 1.317 GB, free: 7.906 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.3213, allocations: 4 kB / 1.317 GB, free: 7.902 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001837/0.3215, allocations: 176.5 kB / 1.317 GB, free: 7.73 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.3215, allocations: 0 / 1.317 GB, free: 7.73 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003605/0.3218, allocations: 63.78 kB / 1.317 GB, free: 7.668 MB / 1.014 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.0001173/0.3219, allocations: 104 kB / 1.317 GB, free: 7.555 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006048/0.3225, allocations: 211.8 kB / 1.317 GB, free: 7.348 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3225, allocations: 0 / 1.317 GB, free: 7.348 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002197/0.3228, allocations: 76.27 kB / 1.317 GB, free: 7.273 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.3231, allocations: 42.77 kB / 1.317 GB, free: 7.23 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007619/0.3239, allocations: 393.2 kB / 1.318 GB, free: 6.82 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/0.3243, allocations: 0.7402 MB / 1.318 GB, free: 6.055 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.023e-05/0.3244, allocations: 25.45 kB / 1.318 GB, free: 6.031 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.9e-05/0.3244, allocations: 23.44 kB / 1.318 GB, free: 6.008 MB / 1.014 GB Notification: Performance of SimCode: time 3.3e-07/0.3244, allocations: 0 / 1.318 GB, free: 6.008 MB / 1.014 GB Notification: Performance of Templates: time 0.005943/0.3304, allocations: 2.109 MB / 1.32 GB, free: 3.922 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.704564269632101]