Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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.001839/0.001839, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.002251/0.002251, allocations: 216.9 kB / 23.01 MB, free: 4.609 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.226/3.226, allocations: 0.49 GB / 0.7958 GB, free: 33.32 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.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") [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.002017/0.002017, allocations: 69.92 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3651, allocations: 176.1 MB / 1.327 GB, free: 1.406 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001912/0.367, allocations: 0.6741 MB / 1.328 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001556/0.3672, allocations: 7.938 kB / 1.328 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.158e-05/0.3672, allocations: 4 kB / 1.328 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.3673, allocations: 0 / 1.328 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.284e-05/0.3674, allocations: 7.922 kB / 1.328 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 9.201e-05/0.3675, allocations: 8 kB / 1.328 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.3676, allocations: 39.97 kB / 1.328 GB, free: 0.668 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.3677, allocations: 15.98 kB / 1.328 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.298e-05/0.3677, allocations: 15.92 kB / 1.328 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.562e-05/0.3678, allocations: 15.92 kB / 1.328 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.3678, allocations: 4 kB / 1.328 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.005e-05/0.3678, allocations: 3.938 kB / 1.328 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.496e-05/0.3678, allocations: 11.94 kB / 1.328 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.786e-05/0.3679, allocations: 19.88 kB / 1.328 GB, free: 0.582 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.368, allocations: 55.73 kB / 1.328 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.368, allocations: 0 / 1.328 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.403e-06/0.368, allocations: 4 kB / 1.328 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.368, allocations: 0 / 1.328 GB, free: 0.5234 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003808/0.3684, allocations: 280.1 kB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.3684, allocations: 8.031 kB / 1.328 GB, free: 216 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.3684, allocations: 4.938 kB / 1.328 GB, free: 212 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.3686, allocations: 114.5 kB / 1.328 GB, free: 72 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.3686, allocations: 8.375 kB / 1.328 GB, free: 64 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.3686, allocations: 4.375 kB / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.3688, allocations: 82.09 kB / 1.329 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.3688, allocations: 4.188 kB / 1.329 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.3688, allocations: 7.938 kB / 1.329 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.3688, allocations: 4 kB / 1.329 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.743e-05/0.3689, allocations: 43.97 kB / 1.329 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005243/0.3694, allocations: 458.6 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.927e-05/0.3695, allocations: 165.2 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.41e-05/0.3696, allocations: 92.14 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/0.3696, allocations: 75.28 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.749e-05/0.3697, allocations: 113.8 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.3697, allocations: 0 / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.547e-05/0.3698, allocations: 33.66 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.849e-05/0.3698, allocations: 126.7 kB / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.37, allocations: 175.1 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.37, allocations: 29.7 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.47e-05/0.3701, allocations: 96.08 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.488e-06/0.3701, allocations: 7.938 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.3701, allocations: 9.719 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3703, allocations: 322.8 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.732e-05/0.3703, allocations: 4 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.548e-05/0.3703, allocations: 11.98 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.571e-05/0.3703, allocations: 16.86 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3703, allocations: 112 / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001264/0.3705, allocations: 61.56 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.3705, allocations: 4 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.3705, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.3705, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.148e-05/0.3705, allocations: 4 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.3706, allocations: 3.938 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.859e-05/0.3706, allocations: 11.94 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.3706, allocations: 8.031 kB / 1.33 GB, free: 13.99 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 (1): * Single equations (assignments): 1 * 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.0001222/0.3707, allocations: 193.6 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.476e-05/0.3708, allocations: 112.9 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.114e-05/0.3709, allocations: 112.8 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.65e-05/0.3709, allocations: 184.2 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.594e-05/0.371, allocations: 184.2 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.207e-05/0.3711, allocations: 180.3 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002754/0.3714, allocations: 396.2 kB / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-05/0.3714, allocations: 101 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.358e-05/0.3715, allocations: 104.9 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.268e-05/0.3716, allocations: 176.3 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.048e-05/0.3716, allocations: 184.3 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.321e-05/0.3717, allocations: 180.2 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.89e-05/0.3718, allocations: 188.2 kB / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.372, allocations: 311.7 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.093e-05/0.3721, allocations: 113 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.615e-05/0.3722, allocations: 184.2 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.3723, allocations: 105.3 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.963e-05/0.3723, allocations: 184.1 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.527e-05/0.3724, allocations: 101 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001195/0.3725, allocations: 133.6 kB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3725, allocations: 0 / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002306/0.3727, allocations: 12 kB / 1.334 GB, free: 10.42 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 (0): * Single equations (assignments): 0 * 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.0001615/0.3729, allocations: 166.5 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.619e-05/0.373, allocations: 16.03 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.373, allocations: 7.938 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.373, allocations: 0 / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005187/0.3735, allocations: 467.7 kB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003519/0.3739, allocations: 245.8 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.3742, allocations: 0.6963 MB / 1.335 GB, free: 8.77 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.84e-05/0.3742, allocations: 11.44 kB / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.3742, allocations: 0 / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of Templates: time 0.002262/0.3765, allocations: 0.7638 MB / 1.336 GB, free: 7.996 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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: 11.175614987994777]