Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001994/0.001994, allocations: 78.33 kB / 19.76 MB, free: 1.875 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.002386/0.002386, allocations: 155.4 kB / 23.01 MB, free: 4.59 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.471/1.471, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.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 2.887/2.887, allocations: 394.2 MB / 0.6387 GB, free: 11.94 MB / 0.6075 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.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_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_latest_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.002091/0.002091, allocations: 63.91 kB / 1.009 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9542/0.9563, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001877/0.9582, allocations: 0.695 MB / 1.187 GB, free: 15.74 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0009003/0.9591, allocations: 0.8292 MB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.798e-05/0.9591, allocations: 1.375 kB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.917e-05/0.9592, allocations: 3.938 kB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.121e-05/0.9592, allocations: 9.875 kB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001002/0.9593, allocations: 9.688 kB / 1.188 GB, free: 15.1 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.064e-05/0.9594, allocations: 52.02 kB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.9595, allocations: 8.578 kB / 1.188 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.69e-05/0.9596, allocations: 18.16 kB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.273e-05/0.9596, allocations: 26.42 kB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.9597, allocations: 8.125 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.3e-05/0.9597, allocations: 6.688 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.877e-05/0.9597, allocations: 7.25 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.817e-05/0.9597, allocations: 13.98 kB / 1.188 GB, free: 15.03 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 9.799e-05/0.9598, allocations: 43.91 kB / 1.188 GB, free: 15.01 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.9598, allocations: 0 / 1.188 GB, free: 15.01 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.452e-06/0.9598, allocations: 0 / 1.188 GB, free: 15.01 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.9598, allocations: 0.6562 kB / 1.188 GB, free: 15.01 MB / 1.076 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.0004787/0.9603, allocations: 283.6 kB / 1.189 GB, free: 14.74 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.9603, allocations: 14.14 kB / 1.189 GB, free: 14.74 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.143e-05/0.9604, allocations: 15.52 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.798e-05/0.9605, allocations: 106.9 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.198e-06/0.9605, allocations: 1.125 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.9605, allocations: 1.969 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/0.9607, allocations: 73.91 kB / 1.189 GB, free: 14.56 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.9607, allocations: 4.125 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.9608, allocations: 4.781 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.9608, allocations: 0 / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002985/0.9611, allocations: 67.95 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002716/0.9613, allocations: 206 kB / 1.189 GB, free: 14.33 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.9615, allocations: 55.02 kB / 1.189 GB, free: 14.3 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.9617, allocations: 41.2 kB / 1.189 GB, free: 14.28 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.9617, allocations: 8.641 kB / 1.189 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.24e-05/0.9617, allocations: 32.62 kB / 1.189 GB, free: 14.23 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.9617, allocations: 0 / 1.189 GB, free: 14.23 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0005596/0.9623, allocations: 125 kB / 1.189 GB, free: 14.19 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.121e-05/0.9623, allocations: 52.72 kB / 1.189 GB, free: 14.13 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.564e-05/0.9624, allocations: 111.2 kB / 1.19 GB, free: 14.02 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.345e-06/0.9624, allocations: 27.02 kB / 1.19 GB, free: 13.99 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.746e-05/0.9624, allocations: 90.84 kB / 1.19 GB, free: 13.9 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.9624, allocations: 13.89 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/0.9625, allocations: 14.12 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.811e-05/0.9625, allocations: 317.8 kB / 1.19 GB, free: 13.56 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.9627, allocations: 30.77 kB / 1.19 GB, free: 13.55 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.9628, allocations: 35.81 kB / 1.19 GB, free: 13.55 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/0.9631, allocations: 66.88 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.9631, allocations: 0 / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000322/0.9634, allocations: 102.3 kB / 1.19 GB, free: 13.48 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.9634, allocations: 10.33 kB / 1.19 GB, free: 13.48 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.9634, allocations: 4 kB / 1.19 GB, free: 13.48 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.9634, allocations: 1.125 kB / 1.19 GB, free: 13.48 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.9636, allocations: 15.47 kB / 1.19 GB, free: 13.48 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.9636, allocations: 0 / 1.19 GB, free: 13.48 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.291e-05/0.9637, allocations: 20.2 kB / 1.19 GB, free: 13.47 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.9637, allocations: 5.125 kB / 1.19 GB, free: 13.46 MB / 1.076 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 5.11e-05/0.9637, allocations: 109 kB / 1.19 GB, free: 13.35 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.9638, allocations: 14.12 kB / 1.19 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003741/0.9641, allocations: 104.3 kB / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.9641, allocations: 1.906 kB / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.9641, allocations: 0 / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.9641, allocations: 1.75 kB / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.9643, allocations: 115.9 kB / 1.191 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.9643, allocations: 0.6562 kB / 1.191 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.9644, allocations: 23.11 kB / 1.191 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.9644, allocations: 1.094 kB / 1.191 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.9644, allocations: 4.688 kB / 1.191 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.9644, allocations: 1.062 kB / 1.191 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.9644, allocations: 3.938 kB / 1.191 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003592/0.9647, allocations: 191.7 kB / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.005e-05/0.9647, allocations: 9.922 kB / 1.191 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.9648, allocations: 1.922 kB / 1.191 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.9649, allocations: 15.84 kB / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.9649, allocations: 4.094 kB / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.9649, allocations: 1.406 kB / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.189e-05/0.965, allocations: 87.88 kB / 1.191 GB, free: 12.91 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.965, allocations: 0 / 1.191 GB, free: 12.91 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002221/0.9652, allocations: 6.656 kB / 1.191 GB, free: 12.91 MB / 1.076 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.0001018/0.9653, allocations: 93.28 kB / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003578/0.9656, allocations: 74.28 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.9656, allocations: 0 / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.9658, allocations: 38.23 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.9661, allocations: 6.188 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003042/0.9664, allocations: 121.5 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.587e-05/0.9665, allocations: 72.33 kB / 1.191 GB, free: 12.6 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.752e-05/0.9665, allocations: 1.344 kB / 1.191 GB, free: 12.6 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.9665, allocations: 12.12 kB / 1.191 GB, free: 12.59 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/0.9665, allocations: 0 / 1.191 GB, free: 12.59 MB / 1.076 GB Notification: Performance of Templates: time 0.003553/0.9701, allocations: 0.7284 MB / 1.192 GB, free: 12.49 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.093385232030414]