Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009009/0.009009, allocations: 96.7 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001785/0.001786, allocations: 193.7 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.756/2.756, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 67.89 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3927, allocations: 151.6 MB / 1.167 GB, free: 6.793 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001899/0.3947, allocations: 0.6478 MB / 1.167 GB, free: 6.145 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001666/0.3948, allocations: 8 kB / 1.167 GB, free: 6.137 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.893e-05/0.3949, allocations: 0 / 1.167 GB, free: 6.137 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.395, allocations: 11.92 kB / 1.167 GB, free: 6.125 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.963e-05/0.3951, allocations: 0 / 1.167 GB, free: 6.125 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 8.508e-05/0.3952, allocations: 8 kB / 1.167 GB, free: 6.117 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.3953, allocations: 27.86 kB / 1.167 GB, free: 6.09 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.3955, allocations: 35.97 kB / 1.167 GB, free: 6.055 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.746e-05/0.3955, allocations: 11.94 kB / 1.167 GB, free: 6.043 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.629e-05/0.3955, allocations: 15.92 kB / 1.167 GB, free: 6.027 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.3956, allocations: 4 kB / 1.167 GB, free: 6.023 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.4e-05/0.3956, allocations: 8 kB / 1.167 GB, free: 6.016 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.256e-05/0.3956, allocations: 4 kB / 1.167 GB, free: 6.012 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.238e-05/0.3957, allocations: 27.86 kB / 1.167 GB, free: 5.984 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.3958, allocations: 43.75 kB / 1.168 GB, free: 5.941 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3958, allocations: 0 / 1.168 GB, free: 5.941 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.555e-06/0.3958, allocations: 0 / 1.168 GB, free: 5.941 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.3958, allocations: 0 / 1.168 GB, free: 5.941 MB / 0.92 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.0004267/0.3962, allocations: 359.2 kB / 1.168 GB, free: 5.539 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.3963, allocations: 11.97 kB / 1.168 GB, free: 5.527 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.3963, allocations: 16.83 kB / 1.168 GB, free: 5.512 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.3966, allocations: 176.4 kB / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.3966, allocations: 384 / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.3966, allocations: 8.375 kB / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.3968, allocations: 78.22 kB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3968, allocations: 4.188 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.3968, allocations: 3.938 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.3968, allocations: 0 / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.319e-05/0.3969, allocations: 51.91 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005431/0.3975, allocations: 499.1 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.3976, allocations: 169.1 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.789e-05/0.3977, allocations: 80.52 kB / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.3977, allocations: 75.28 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.181e-05/0.3978, allocations: 109.8 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.3978, allocations: 0 / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 8.569e-05/0.3979, allocations: 37.66 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/0.398, allocations: 130.6 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.3982, allocations: 179.4 kB / 1.169 GB, free: 3.797 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.3982, allocations: 25.7 kB / 1.169 GB, free: 3.766 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.163e-05/0.3983, allocations: 92.14 kB / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.1e-06/0.3983, allocations: 4 kB / 1.17 GB, free: 3.668 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.3983, allocations: 17.72 kB / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.3984, allocations: 314.8 kB / 1.17 GB, free: 3.328 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.894e-05/0.3985, allocations: 8 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.389e-05/0.3985, allocations: 7.984 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.987e-05/0.3985, allocations: 20.84 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3985, allocations: 0 / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001256/0.3987, allocations: 53.58 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.3987, allocations: 8.094 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.3987, allocations: 4 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.3987, allocations: 0 / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.61e-05/0.3988, allocations: 4 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3988, allocations: 3.938 kB / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.352e-05/0.3988, allocations: 4 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.3988, allocations: 3.984 kB / 1.17 GB, free: 3.203 MB / 0.92 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.0001052/0.3989, allocations: 197.1 kB / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.761e-05/0.399, allocations: 104.9 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.761e-05/0.3991, allocations: 120.8 kB / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.386e-05/0.3991, allocations: 180.3 kB / 1.171 GB, free: 2.578 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.708e-05/0.3992, allocations: 180.2 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.037e-05/0.3993, allocations: 184.2 kB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002467/0.3995, allocations: 421.1 kB / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.77e-05/0.3996, allocations: 108.9 kB / 1.171 GB, free: 1.625 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.424e-05/0.3996, allocations: 109 kB / 1.171 GB, free: 1.512 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.263e-05/0.3997, allocations: 176.3 kB / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.405e-05/0.3997, allocations: 180.3 kB / 1.172 GB, free: 1.148 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.84e-05/0.3998, allocations: 184.2 kB / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.138e-05/0.3999, allocations: 188.1 kB / 1.172 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.4, allocations: 311.7 kB / 1.172 GB, free: 452 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 8.469e-05/0.4001, allocations: 194 kB / 1.173 GB, free: 232 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.158e-05/0.4002, allocations: 176.3 kB / 1.173 GB, free: 48 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.4003, allocations: 113.2 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.4005, allocations: 188.2 kB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.012e-05/0.4005, allocations: 105 kB / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.824e-05/0.4007, allocations: 133.1 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4007, allocations: 4 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002163/0.4009, allocations: 4 kB / 1.173 GB, free: 15.49 MB / 0.9356 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.0001638/0.401, allocations: 178.5 kB / 1.174 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.687e-05/0.4011, allocations: 16.02 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4011, allocations: 0 / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.4011, allocations: 0 / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005357/0.4017, allocations: 459.7 kB / 1.174 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002851/0.402, allocations: 220 kB / 1.174 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.4023, allocations: 0.6924 MB / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.631e-05/0.4023, allocations: 8 kB / 1.175 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.587e-05/0.4023, allocations: 7.438 kB / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of SimCode: time 5.21e-07/0.4023, allocations: 0 / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of Templates: time 0.00257/0.4049, allocations: 474.8 kB / 1.175 GB, free: 13.4 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches