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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 114.9 kB / 17.13 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 212.7 kB / 20.1 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.512/1.512, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.964/2.964, allocations: 0.49 GB / 0.7923 GB, free: 1.332 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 70.09 kB / 1.15 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.245/1.247, allocations: 176.1 MB / 1.322 GB, free: 25.18 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.00314/1.25, allocations: 2.068 MB / 1.324 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007922/1.251, allocations: 462.4 kB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/1.251, allocations: 5.25 kB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001652/1.251, allocations: 48.14 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.545e-05/1.251, allocations: 25.52 kB / 1.324 GB, free: 23.32 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/1.251, allocations: 106.6 kB / 1.325 GB, free: 23.25 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002539/1.252, allocations: 294.4 kB / 1.325 GB, free: 23.09 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000227/1.252, allocations: 100.8 kB / 1.325 GB, free: 23.02 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/1.252, allocations: 107.2 kB / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/1.252, allocations: 97.98 kB / 1.325 GB, free: 22.9 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.274e-05/1.252, allocations: 36.25 kB / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.432e-05/1.252, allocations: 33.5 kB / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.236e-05/1.252, allocations: 63.33 kB / 1.325 GB, free: 22.85 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.405e-05/1.252, allocations: 117.2 kB / 1.325 GB, free: 22.76 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003407/1.253, allocations: 390.3 kB / 1.326 GB, free: 22.61 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.253, allocations: 7.938 kB / 1.326 GB, free: 22.6 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.943e-06/1.253, allocations: 0 / 1.326 GB, free: 22.6 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.003e-06/1.253, allocations: 0 / 1.326 GB, free: 22.6 MB / 1.061 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.0008058/1.253, allocations: 0.5427 MB / 1.326 GB, free: 22.13 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/1.254, allocations: 14.92 kB / 1.326 GB, free: 22.12 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.287e-05/1.254, allocations: 32.16 kB / 1.326 GB, free: 22.11 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003665/1.254, allocations: 276.6 kB / 1.327 GB, free: 21.85 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/1.254, allocations: 11.12 kB / 1.327 GB, free: 21.84 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.839e-05/1.254, allocations: 22.81 kB / 1.327 GB, free: 21.83 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004312/1.254, allocations: 231.6 kB / 1.327 GB, free: 21.72 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/1.254, allocations: 3.938 kB / 1.327 GB, free: 21.71 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/1.254, allocations: 14.81 kB / 1.327 GB, free: 21.7 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/1.254, allocations: 9.047 kB / 1.327 GB, free: 21.7 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004551/1.255, allocations: 171.7 kB / 1.327 GB, free: 21.64 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/1.256, allocations: 0.8512 MB / 1.328 GB, free: 21.01 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005692/1.257, allocations: 169.4 kB / 1.328 GB, free: 20.94 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/1.257, allocations: 88.23 kB / 1.328 GB, free: 20.91 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/1.257, allocations: 2.25 kB / 1.328 GB, free: 20.91 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/1.257, allocations: 38.64 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.784e-06/1.257, allocations: 0.5625 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0007122/1.258, allocations: 232.8 kB / 1.328 GB, free: 20.76 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/1.258, allocations: 83.48 kB / 1.328 GB, free: 20.66 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/1.258, allocations: 233 kB / 1.329 GB, free: 20.51 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/1.258, allocations: 30.48 kB / 1.329 GB, free: 20.48 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.617e-05/1.258, allocations: 155.3 kB / 1.329 GB, free: 20.34 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/1.258, allocations: 50.86 kB / 1.329 GB, free: 20.3 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.399e-05/1.258, allocations: 33.56 kB / 1.329 GB, free: 20.27 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.021e-05/1.258, allocations: 330.4 kB / 1.329 GB, free: 19.95 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/1.258, allocations: 74.27 kB / 1.329 GB, free: 19.92 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/1.259, allocations: 103.7 kB / 1.329 GB, free: 19.86 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004516/1.259, allocations: 162.9 kB / 1.33 GB, free: 19.77 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/1.259, allocations: 0.9688 kB / 1.33 GB, free: 19.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006134/1.26, allocations: 206.7 kB / 1.33 GB, free: 19.68 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.753e-05/1.26, allocations: 12.33 kB / 1.33 GB, free: 19.67 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.577e-06/1.26, allocations: 1.188 kB / 1.33 GB, free: 19.67 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.495e-05/1.26, allocations: 6.281 kB / 1.33 GB, free: 19.67 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/1.26, allocations: 34.75 kB / 1.33 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/1.26, allocations: 2.297 kB / 1.33 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/1.26, allocations: 33.28 kB / 1.33 GB, free: 19.65 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/1.26, allocations: 9.094 kB / 1.33 GB, free: 19.64 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003196/1.261, allocations: 155.5 kB / 1.33 GB, free: 19.53 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002228/1.261, allocations: 94.86 kB / 1.33 GB, free: 19.46 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003626/1.261, allocations: 135.2 kB / 1.33 GB, free: 19.38 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.313e-06/1.261, allocations: 0 / 1.33 GB, free: 19.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0004765/1.262, allocations: 179 kB / 1.33 GB, free: 19.3 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/1.262, allocations: 7.5 kB / 1.33 GB, free: 19.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/1.262, allocations: 5.719 kB / 1.33 GB, free: 19.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.983e-06/1.262, allocations: 5.438 kB / 1.33 GB, free: 19.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/1.262, allocations: 32.19 kB / 1.33 GB, free: 19.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/1.262, allocations: 2.203 kB / 1.33 GB, free: 19.29 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/1.262, allocations: 26.72 kB / 1.33 GB, free: 19.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/1.262, allocations: 5.328 kB / 1.331 GB, free: 19.27 MB / 1.061 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.0001666/1.262, allocations: 187.5 kB / 1.331 GB, free: 19.09 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-05/1.262, allocations: 17.52 kB / 1.331 GB, free: 19.08 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.152e-05/1.262, allocations: 33.25 kB / 1.331 GB, free: 19.05 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/1.262, allocations: 1.219 kB / 1.331 GB, free: 19.05 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/1.262, allocations: 3.938 kB / 1.331 GB, free: 19.05 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/1.262, allocations: 2.453 kB / 1.331 GB, free: 19.05 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005812/1.263, allocations: 302.1 kB / 1.331 GB, free: 18.8 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/1.263, allocations: 0.6094 kB / 1.331 GB, free: 18.8 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/1.263, allocations: 27.05 kB / 1.331 GB, free: 18.8 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/1.263, allocations: 5.891 kB / 1.331 GB, free: 18.79 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/1.263, allocations: 8.812 kB / 1.331 GB, free: 18.79 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/1.263, allocations: 0.7031 kB / 1.331 GB, free: 18.79 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.263, allocations: 8.938 kB / 1.331 GB, free: 18.78 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009104/1.264, allocations: 343.7 kB / 1.331 GB, free: 18.57 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.428e-05/1.264, allocations: 98.44 kB / 1.331 GB, free: 18.46 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/1.264, allocations: 11.16 kB / 1.332 GB, free: 18.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/1.264, allocations: 17.02 kB / 1.332 GB, free: 18.45 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.405e-05/1.265, allocations: 5.859 kB / 1.332 GB, free: 18.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/1.265, allocations: 3.938 kB / 1.332 GB, free: 18.45 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002553/1.265, allocations: 169.2 kB / 1.332 GB, free: 18.34 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.265, allocations: 0 / 1.332 GB, free: 18.34 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004733/1.265, allocations: 64.56 kB / 1.332 GB, free: 18.32 MB / 1.061 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.0002135/1.265, allocations: 106.9 kB / 1.332 GB, free: 18.23 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000824/1.266, allocations: 214.8 kB / 1.332 GB, free: 18.16 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/1.266, allocations: 0.6562 kB / 1.332 GB, free: 18.16 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000238/1.267, allocations: 68.48 kB / 1.332 GB, free: 18.14 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005207/1.267, allocations: 37.73 kB / 1.332 GB, free: 18.13 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/1.268, allocations: 428.8 kB / 1.333 GB, free: 17.84 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/1.269, allocations: 0.743 MB / 1.333 GB, free: 17.13 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.547e-05/1.269, allocations: 23.47 kB / 1.333 GB, free: 17.12 MB / 1.061 GB Notification: Performance of SimCode: time 9.52e-07/1.269, allocations: 0 / 1.333 GB, free: 17.12 MB / 1.061 GB Notification: Performance of Templates: time 0.009084/1.278, allocations: 2.574 MB / 1.336 GB, free: 16.84 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins1/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: 12.234260854995227]