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.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.001726/0.001726, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002141/0.002141, allocations: 212.2 kB / 22.24 MB, free: 4.855 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.516/1.516, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.348/3.348, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002138/0.002138, allocations: 70.64 kB / 1.186 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3267, allocations: 181.9 MB / 1.364 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003718/0.3304, allocations: 1.95 MB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.3315, allocations: 458.6 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001929/0.3317, allocations: 4 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001934/0.3319, allocations: 35.59 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.332, allocations: 35.67 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.3323, allocations: 115.8 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003638/0.3327, allocations: 288.4 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002311/0.3329, allocations: 89.14 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.333, allocations: 107.6 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.3332, allocations: 91.48 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.313e-05/0.3332, allocations: 32 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.345e-05/0.3333, allocations: 32 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.374e-05/0.3333, allocations: 63.84 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.3335, allocations: 95.47 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000443/0.3339, allocations: 390.5 kB / 1.367 GB, free: 9.844 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3339, allocations: 4 kB / 1.368 GB, free: 9.84 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3339, allocations: 0 / 1.368 GB, free: 9.84 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.759e-06/0.3339, allocations: 0 / 1.368 GB, free: 9.84 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.0009349/0.3349, allocations: 0.4945 MB / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.3349, allocations: 8.031 kB / 1.368 GB, free: 9.305 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.739e-05/0.335, allocations: 28.8 kB / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003934/0.3353, allocations: 226.5 kB / 1.368 GB, free: 9.031 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.3354, allocations: 12.81 kB / 1.368 GB, free: 9.02 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.087e-05/0.3354, allocations: 24.31 kB / 1.368 GB, free: 8.996 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005066/0.3359, allocations: 260 kB / 1.369 GB, free: 8.723 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.3359, allocations: 3.938 kB / 1.369 GB, free: 8.719 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.3359, allocations: 8 kB / 1.369 GB, free: 8.711 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.336, allocations: 4 kB / 1.369 GB, free: 8.707 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004466/0.3364, allocations: 177 kB / 1.369 GB, free: 8.535 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.3375, allocations: 0.6934 MB / 1.369 GB, free: 7.801 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005182/0.3381, allocations: 166.8 kB / 1.37 GB, free: 7.629 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.3383, allocations: 100.9 kB / 1.37 GB, free: 7.527 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.3383, allocations: 3.938 kB / 1.37 GB, free: 7.523 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/0.3383, allocations: 34.56 kB / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.3383, allocations: 0 / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0006482/0.339, allocations: 217.5 kB / 1.37 GB, free: 7.262 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/0.3391, allocations: 85.05 kB / 1.37 GB, free: 7.16 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.3393, allocations: 220.7 kB / 1.37 GB, free: 6.934 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.3393, allocations: 29.7 kB / 1.37 GB, free: 6.898 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.3395, allocations: 164.2 kB / 1.37 GB, free: 6.734 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.3395, allocations: 35.69 kB / 1.37 GB, free: 6.699 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-05/0.3396, allocations: 37.67 kB / 1.37 GB, free: 6.656 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.3397, allocations: 330.8 kB / 1.371 GB, free: 6.324 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.3399, allocations: 76.7 kB / 1.371 GB, free: 6.246 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.3402, allocations: 168.4 kB / 1.371 GB, free: 6.051 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000368/0.3405, allocations: 151.3 kB / 1.371 GB, free: 5.891 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/0.3405, allocations: 4 kB / 1.371 GB, free: 5.887 MB / 1.061 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004689/0.341, allocations: 205.5 kB / 1.371 GB, free: 5.68 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.341, allocations: 5.875 kB / 1.371 GB, free: 5.676 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.341, allocations: 4 kB / 1.371 GB, free: 5.672 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3411, allocations: 0 / 1.371 GB, free: 5.672 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.3412, allocations: 43.84 kB / 1.371 GB, free: 5.629 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.3413, allocations: 0 / 1.371 GB, free: 5.629 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.3414, allocations: 27.88 kB / 1.371 GB, free: 5.602 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.3414, allocations: 8.094 kB / 1.371 GB, free: 5.594 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002164/0.3416, allocations: 156.1 kB / 1.372 GB, free: 5.438 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002011/0.3418, allocations: 144.5 kB / 1.372 GB, free: 5.266 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002845/0.3421, allocations: 137.5 kB / 1.372 GB, free: 5.121 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.052e-06/0.3421, allocations: 0 / 1.372 GB, free: 5.121 MB / 1.061 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003608/0.3425, allocations: 177.5 kB / 1.372 GB, free: 4.941 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.233e-06/0.3425, allocations: 4 kB / 1.372 GB, free: 4.938 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-06/0.3425, allocations: 0 / 1.372 GB, free: 4.938 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.68e-06/0.3425, allocations: 4 kB / 1.372 GB, free: 4.934 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.3426, allocations: 35.92 kB / 1.372 GB, free: 4.898 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.3426, allocations: 3.938 kB / 1.372 GB, free: 4.895 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.3427, allocations: 27.97 kB / 1.372 GB, free: 4.867 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.3427, allocations: 8 kB / 1.372 GB, free: 4.859 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.0001336/0.3429, allocations: 192.2 kB / 1.372 GB, free: 4.664 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.27e-05/0.3429, allocations: 15.91 kB / 1.372 GB, free: 4.648 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.249e-05/0.343, allocations: 17.41 kB / 1.372 GB, free: 4.629 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.343, allocations: 3.938 kB / 1.372 GB, free: 4.625 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.343, allocations: 7.938 kB / 1.372 GB, free: 4.617 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-06/0.343, allocations: 7.984 kB / 1.372 GB, free: 4.609 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002705/0.3433, allocations: 205.1 kB / 1.373 GB, free: 4.379 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3433, allocations: 0 / 1.373 GB, free: 4.379 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.3434, allocations: 35.97 kB / 1.373 GB, free: 4.344 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3434, allocations: 0 / 1.373 GB, free: 4.344 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.3434, allocations: 4 kB / 1.373 GB, free: 4.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3434, allocations: 0 / 1.373 GB, free: 4.34 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.3434, allocations: 3.938 kB / 1.373 GB, free: 4.336 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006713/0.3441, allocations: 343.3 kB / 1.373 GB, free: 3.984 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.653e-05/0.3441, allocations: 23.86 kB / 1.373 GB, free: 3.961 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/0.3442, allocations: 4 kB / 1.373 GB, free: 3.957 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.3443, allocations: 15.92 kB / 1.373 GB, free: 3.941 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.3444, allocations: 15.92 kB / 1.373 GB, free: 3.926 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.3444, allocations: 0 / 1.373 GB, free: 3.926 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001577/0.3445, allocations: 156.5 kB / 1.373 GB, free: 3.773 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3445, allocations: 0 / 1.373 GB, free: 3.773 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003648/0.3449, allocations: 75.73 kB / 1.373 GB, free: 3.699 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.0001158/0.345, allocations: 103.3 kB / 1.373 GB, free: 3.586 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005938/0.3456, allocations: 215.2 kB / 1.373 GB, free: 3.379 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3456, allocations: 0 / 1.373 GB, free: 3.379 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.3458, allocations: 68.22 kB / 1.374 GB, free: 3.312 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.3462, allocations: 39.75 kB / 1.374 GB, free: 3.273 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007506/0.3469, allocations: 393.2 kB / 1.374 GB, free: 2.859 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.3471, allocations: 134.2 kB / 1.374 GB, free: 2.711 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.4e-05/0.3471, allocations: 13.48 kB / 1.374 GB, free: 2.699 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.715e-05/0.3472, allocations: 23.42 kB / 1.374 GB, free: 2.68 MB / 1.061 GB Notification: Performance of SimCode: time 3.51e-07/0.3472, allocations: 11.88 kB / 1.374 GB, free: 2.668 MB / 1.061 GB Notification: Performance of Templates: time 0.005727/0.3529, allocations: 2.186 MB / 1.376 GB, free: 0.5195 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.804906360805035]