Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.001665/0.001665, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001912/0.001912, allocations: 213.4 kB / 22.99 MB, free: 4.945 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.801 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 3.19/3.19, allocations: 0.4892 GB / 0.7951 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 177] 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.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min") [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.002131/0.002131, allocations: 76.11 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3288, allocations: 176.1 MB / 1.326 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.00192/0.3307, allocations: 0.6957 MB / 1.327 GB, free: 1.125 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.3318, allocations: 0.828 MB / 1.328 GB, free: 292 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.693e-05/0.3318, allocations: 4 kB / 1.328 GB, free: 288 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.256e-05/0.3319, allocations: 3.938 kB / 1.328 GB, free: 284 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.036e-05/0.3319, allocations: 3.938 kB / 1.328 GB, free: 280 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001022/0.332, allocations: 15.98 kB / 1.328 GB, free: 264 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.794e-05/0.3321, allocations: 51.77 kB / 1.328 GB, free: 212 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.3322, allocations: 12 kB / 1.328 GB, free: 200 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.232e-05/0.3323, allocations: 15.92 kB / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.921e-05/0.3324, allocations: 23.92 kB / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.3324, allocations: 4 kB / 1.328 GB, free: 156 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.228e-05/0.3324, allocations: 4 kB / 1.328 GB, free: 152 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.916e-05/0.3324, allocations: 11.98 kB / 1.328 GB, free: 140 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.852e-05/0.3324, allocations: 11.94 kB / 1.328 GB, free: 128 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.629e-05/0.3325, allocations: 47.78 kB / 1.328 GB, free: 80 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3325, allocations: 3.938 kB / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3325, allocations: 0 / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.3325, allocations: 0 / 1.328 GB, free: 76 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005674/0.3331, allocations: 286.4 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.3331, allocations: 8.031 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.3332, allocations: 4.938 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.3333, allocations: 118.4 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.3333, allocations: 4.312 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.3333, allocations: 8.312 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.3336, allocations: 70.2 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.3336, allocations: 3.938 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.3336, allocations: 0 / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.3336, allocations: 4 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002788/0.3339, allocations: 63.92 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003479/0.3342, allocations: 208.6 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.3344, allocations: 62.41 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.3346, allocations: 40.92 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.3346, allocations: 0 / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.3346, allocations: 30.56 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.3346, allocations: 0 / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005375/0.3352, allocations: 129.5 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.3352, allocations: 63.34 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.3353, allocations: 105.8 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.3354, allocations: 25.7 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/0.3354, allocations: 88.14 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.3354, allocations: 3.953 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.238e-05/0.3355, allocations: 21.7 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3356, allocations: 310.8 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.3358, allocations: 27.97 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.3359, allocations: 39.95 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/0.3362, allocations: 69.06 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3362, allocations: 0 / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003271/0.3365, allocations: 109.4 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.3365, allocations: 8 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3365, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3365, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.3367, allocations: 23.92 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.3367, allocations: 0 / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.174e-05/0.3368, allocations: 15.97 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.3368, allocations: 0 / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.193e-05/0.3369, allocations: 113.8 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.3369, allocations: 7.953 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003659/0.3372, allocations: 105.6 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.3372, allocations: 0 / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3373, allocations: 0 / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3373, allocations: 3.938 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.3374, allocations: 117.2 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3374, allocations: 3.938 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.3375, allocations: 27.97 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.3375, allocations: 3.938 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.3375, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3375, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3375, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003719/0.3379, allocations: 187.5 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.328e-05/0.3379, allocations: 7.891 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.3379, allocations: 11.98 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.338, allocations: 11.98 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.3381, allocations: 0 / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.3381, allocations: 4 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.364e-05/0.3381, allocations: 91.56 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3381, allocations: 0 / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002177/0.3383, allocations: 11.94 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (3): * Single equations (assignments): 3 * 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.0001288/0.3385, allocations: 95.23 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003375/0.3388, allocations: 71.92 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3388, allocations: 0 / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.339, allocations: 35.95 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.3393, allocations: 17.81 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003435/0.3396, allocations: 147.3 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.122e-05/0.3397, allocations: 67.34 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.481e-05/0.3397, allocations: 15.38 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3397, allocations: 0 / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of Templates: time 0.002251/0.342, allocations: 0.7592 MB / 1.332 GB, free: 11.96 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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: 10.898975420277566]