Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 107 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.6 MB / 249.9 MB, free: 13.45 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.049/3.049, allocations: 489.7 MB / 0.7761 GB, free: 33.69 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 72.34 kB / 1.127 GB, free: 36.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2992, allocations: 172.1 MB / 1.295 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001803/0.301, allocations: 0.6594 MB / 1.296 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001501/0.3012, allocations: 8 kB / 1.296 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.984e-05/0.3012, allocations: 3.938 kB / 1.296 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.3013, allocations: 0 / 1.296 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.456e-05/0.3014, allocations: 0 / 1.296 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 8.35e-05/0.3014, allocations: 11.98 kB / 1.296 GB, free: 11 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00012/0.3016, allocations: 47.83 kB / 1.296 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.3017, allocations: 24 kB / 1.296 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.712e-05/0.3017, allocations: 15.92 kB / 1.296 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.017e-05/0.3017, allocations: 11.94 kB / 1.296 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.3018, allocations: 4 kB / 1.296 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.031e-05/0.3018, allocations: 0 / 1.296 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.385e-05/0.3018, allocations: 11.98 kB / 1.296 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.811e-05/0.3018, allocations: 23.81 kB / 1.296 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.302, allocations: 55.73 kB / 1.296 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.302, allocations: 0 / 1.296 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.422e-06/0.302, allocations: 0 / 1.296 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.302, allocations: 7.938 kB / 1.296 GB, free: 10.8 MB / 0.9981 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.0003946/0.3024, allocations: 351.3 kB / 1.296 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.3024, allocations: 8.031 kB / 1.296 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.796e-05/0.3024, allocations: 12.88 kB / 1.296 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.3026, allocations: 168.4 kB / 1.296 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-06/0.3026, allocations: 4.312 kB / 1.296 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.3026, allocations: 8.375 kB / 1.296 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.3028, allocations: 78.16 kB / 1.296 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.3028, allocations: 4.188 kB / 1.296 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.3028, allocations: 7.938 kB / 1.296 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3028, allocations: 3.938 kB / 1.296 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.692e-05/0.3029, allocations: 47.97 kB / 1.296 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005512/0.3035, allocations: 491.1 kB / 1.297 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.3036, allocations: 171.6 kB / 1.297 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.207e-05/0.3036, allocations: 84.14 kB / 1.297 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.3036, allocations: 75.28 kB / 1.297 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.335e-05/0.3037, allocations: 110.3 kB / 1.297 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.3037, allocations: 0 / 1.297 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.535e-05/0.3038, allocations: 37.59 kB / 1.297 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.741e-05/0.3039, allocations: 134.7 kB / 1.297 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.3041, allocations: 179.6 kB / 1.298 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.3041, allocations: 25.7 kB / 1.298 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/0.3041, allocations: 100.1 kB / 1.298 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.3041, allocations: 0 / 1.298 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.3042, allocations: 17.7 kB / 1.298 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3043, allocations: 318.8 kB / 1.298 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.877e-05/0.3043, allocations: 7.984 kB / 1.298 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.199e-05/0.3043, allocations: 4 kB / 1.298 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.057e-05/0.3044, allocations: 24.91 kB / 1.298 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3044, allocations: 0 / 1.298 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001234/0.3045, allocations: 53.58 kB / 1.298 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.3045, allocations: 8 kB / 1.298 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3045, allocations: 0 / 1.298 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.3045, allocations: 0 / 1.298 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.355e-05/0.3046, allocations: 3.984 kB / 1.298 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.3046, allocations: 7.938 kB / 1.298 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.619e-05/0.3046, allocations: 7.938 kB / 1.298 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.3046, allocations: 32 / 1.298 GB, free: 8.074 MB / 0.9981 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.0001187/0.3048, allocations: 197.1 kB / 1.298 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.221e-05/0.3048, allocations: 112.9 kB / 1.299 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.335e-05/0.3049, allocations: 112.8 kB / 1.299 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.756e-05/0.305, allocations: 176.3 kB / 1.299 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.562e-05/0.305, allocations: 196.1 kB / 1.299 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.349e-05/0.3051, allocations: 180.3 kB / 1.299 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.3054, allocations: 413.2 kB / 1.3 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.302e-05/0.3054, allocations: 108.9 kB / 1.3 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.546e-05/0.3055, allocations: 101.1 kB / 1.3 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.677e-05/0.3055, allocations: 196.1 kB / 1.3 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.342e-05/0.3056, allocations: 180.3 kB / 1.3 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-05/0.3057, allocations: 176.3 kB / 1.3 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.458e-05/0.3058, allocations: 184.1 kB / 1.3 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.3059, allocations: 315.7 kB / 1.301 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.585e-05/0.306, allocations: 182.1 kB / 1.301 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.057e-05/0.3061, allocations: 188.2 kB / 1.301 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.048e-05/0.3062, allocations: 109.3 kB / 1.301 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.295e-05/0.3063, allocations: 184.2 kB / 1.301 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.594e-05/0.3063, allocations: 104.9 kB / 1.301 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001111/0.3064, allocations: 133.4 kB / 1.302 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3064, allocations: 0 / 1.302 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002159/0.3067, allocations: 8 kB / 1.302 GB, free: 4.371 MB / 0.9981 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.0001641/0.3068, allocations: 175.1 kB / 1.302 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.879e-05/0.3069, allocations: 16.03 kB / 1.302 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3069, allocations: 0 / 1.302 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.3069, allocations: 0 / 1.302 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004657/0.3074, allocations: 467.7 kB / 1.302 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.3077, allocations: 241.8 kB / 1.302 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.308, allocations: 0.6885 MB / 1.303 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.3081, allocations: 11.44 kB / 1.303 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of SimCode: time 2.81e-07/0.3081, allocations: 0 / 1.303 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of Templates: time 0.002236/0.3103, allocations: 0.7662 MB / 1.304 GB, free: 1.957 MB / 0.9981 GB [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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