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.001456/0.001456, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001526/0.001526, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.554/1.554, allocations: 230.6 MB / 256 MB, free: 7.777 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.393/3.393, allocations: 0.4892 GB / 0.7943 GB, free: 35.73 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.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.002128/0.002128, allocations: 72.25 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4555/0.4576, allocations: 176.1 MB / 1.326 GB, free: 1.805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.002152/0.4597, allocations: 0.6993 MB / 1.326 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.4609, allocations: 0.8358 MB / 1.327 GB, free: 268 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.227e-05/0.461, allocations: 0 / 1.327 GB, free: 268 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.101e-05/0.461, allocations: 7.938 kB / 1.327 GB, free: 260 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.693e-05/0.4611, allocations: 7.938 kB / 1.327 GB, free: 252 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001156/0.4612, allocations: 11.98 kB / 1.327 GB, free: 240 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.4613, allocations: 39.92 kB / 1.327 GB, free: 200 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.4614, allocations: 15.97 kB / 1.327 GB, free: 184 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.606e-05/0.4615, allocations: 23.86 kB / 1.327 GB, free: 160 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.343e-05/0.4616, allocations: 19.92 kB / 1.327 GB, free: 140 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.4616, allocations: 4 kB / 1.327 GB, free: 136 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.56e-05/0.4616, allocations: 4 kB / 1.327 GB, free: 132 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.087e-05/0.4616, allocations: 7.938 kB / 1.327 GB, free: 124 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.417e-05/0.4616, allocations: 19.92 kB / 1.327 GB, free: 104 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.4618, allocations: 43.8 kB / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4618, allocations: 0 / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4618, allocations: 0 / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.4618, allocations: 0 / 1.327 GB, free: 60 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.0005886/0.4624, allocations: 286.2 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.4624, allocations: 12.03 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/0.4624, allocations: 4.922 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.4626, allocations: 114.4 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.4626, allocations: 4.375 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.4626, allocations: 4.375 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.4628, allocations: 70.16 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.4629, allocations: 192 / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.4629, allocations: 3.938 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.4629, allocations: 0 / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002903/0.4632, allocations: 67.92 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003691/0.4635, allocations: 204.6 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.4638, allocations: 62.41 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.4639, allocations: 40.86 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.464, allocations: 3.984 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.464, allocations: 30.56 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.464, allocations: 4 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005724/0.4646, allocations: 125.5 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.4646, allocations: 55.41 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.4647, allocations: 105.8 kB / 1.328 GB, free: 14.74 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.4648, allocations: 29.7 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.079e-05/0.4648, allocations: 88.12 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.4649, allocations: 11.95 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/0.4649, allocations: 17.66 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.4651, allocations: 314.8 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.4652, allocations: 39.89 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.4654, allocations: 27.97 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.4656, allocations: 72.78 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4657, allocations: 0 / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003305/0.466, allocations: 101.8 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.466, allocations: 5.562 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.466, allocations: 3.984 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.466, allocations: 0 / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.4662, allocations: 23.97 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.4662, allocations: 0 / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.207e-05/0.4663, allocations: 15.97 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.4663, allocations: 0 / 1.329 GB, free: 13.97 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 0.0001334/0.4664, allocations: 113.8 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.4664, allocations: 7.891 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003845/0.4668, allocations: 105.6 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.4668, allocations: 3.984 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.4668, allocations: 4 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4668, allocations: 0 / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.467, allocations: 117.2 kB / 1.329 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.467, allocations: 0 / 1.329 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.74e-05/0.4671, allocations: 19.92 kB / 1.329 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.4671, allocations: 0 / 1.329 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.4672, allocations: 3.938 kB / 1.329 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.4672, allocations: 7.938 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4672, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004005/0.4676, allocations: 195.5 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.833e-05/0.4676, allocations: 7.891 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.4676, allocations: 0 / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.4677, allocations: 11.98 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.01e-05/0.4678, allocations: 7.984 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.269e-06/0.4678, allocations: 4 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.305e-05/0.4678, allocations: 87.27 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4678, allocations: 4 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00022/0.4681, allocations: 4 kB / 1.33 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.0002155/0.4683, allocations: 103.2 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003621/0.4686, allocations: 71.86 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4686, allocations: 4 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.4688, allocations: 31.97 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.4692, allocations: 8.531 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000481/0.4697, allocations: 121.5 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.422e-05/0.4697, allocations: 63.34 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.776e-05/0.4698, allocations: 4 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.79e-05/0.4698, allocations: 11.44 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of SimCode: time 8.82e-07/0.4698, allocations: 0 / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of Templates: time 0.004069/0.4739, allocations: 0.7435 MB / 1.331 GB, free: 12.01 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/jenkins/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: 9.729634527117014]