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.001126/0.001126, allocations: 106.4 kB / 16.41 MB, free: 6.453 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.001158/0.001158, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.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.482/2.482, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 67.91 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.95/0.9514, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002037/0.9534, allocations: 0.6618 MB / 1.168 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000152/0.9536, allocations: 7.938 kB / 1.168 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.627e-05/0.9537, allocations: 0 / 1.168 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.9538, allocations: 7.938 kB / 1.168 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.16e-05/0.9539, allocations: 0 / 1.168 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 7.097e-05/0.9539, allocations: 7.938 kB / 1.168 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.25e-05/0.954, allocations: 31.91 kB / 1.168 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.9542, allocations: 31.97 kB / 1.168 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.066e-05/0.9542, allocations: 11.94 kB / 1.168 GB, free: 3.086 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.508e-05/0.9543, allocations: 15.92 kB / 1.168 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.9543, allocations: 4 kB / 1.168 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.287e-05/0.9543, allocations: 8 kB / 1.168 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.465e-05/0.9544, allocations: 11.94 kB / 1.168 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.905e-05/0.9544, allocations: 19.88 kB / 1.168 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.9545, allocations: 47.86 kB / 1.168 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.9545, allocations: 3.938 kB / 1.168 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9545, allocations: 0 / 1.168 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.9546, allocations: 0 / 1.168 GB, free: 2.977 MB / 0.8887 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.0003551/0.9549, allocations: 351.3 kB / 1.169 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.955, allocations: 12.03 kB / 1.169 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.314e-05/0.955, allocations: 4.844 kB / 1.169 GB, free: 2.57 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.9552, allocations: 184.2 kB / 1.169 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-06/0.9552, allocations: 4.375 kB / 1.169 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.9552, allocations: 4.375 kB / 1.169 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.9554, allocations: 74.23 kB / 1.169 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.9554, allocations: 192 / 1.169 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.9554, allocations: 3.938 kB / 1.169 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.9554, allocations: 0 / 1.169 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.902e-05/0.9555, allocations: 51.97 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005114/0.956, allocations: 0.489 MB / 1.169 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.079e-05/0.9561, allocations: 165.1 kB / 1.169 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.425e-05/0.9562, allocations: 84.08 kB / 1.17 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.9562, allocations: 75.28 kB / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.554e-05/0.9563, allocations: 117.8 kB / 1.17 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.9563, allocations: 0 / 1.17 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 8.636e-05/0.9563, allocations: 29.7 kB / 1.17 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.9564, allocations: 130.7 kB / 1.17 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.9566, allocations: 173.6 kB / 1.17 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.9566, allocations: 25.7 kB / 1.17 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.076e-05/0.9567, allocations: 96.12 kB / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-06/0.9567, allocations: 0 / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.9567, allocations: 13.72 kB / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.9568, allocations: 322.8 kB / 1.171 GB, free: 396 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.072e-05/0.9569, allocations: 11.92 kB / 1.171 GB, free: 384 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.363e-05/0.9569, allocations: 4 kB / 1.171 GB, free: 380 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.994e-05/0.9569, allocations: 16.84 kB / 1.171 GB, free: 360 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.9569, allocations: 0 / 1.171 GB, free: 360 kB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001168/0.9571, allocations: 53.59 kB / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.9571, allocations: 10.95 kB / 1.171 GB, free: 292 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.9571, allocations: 4.094 kB / 1.171 GB, free: 288 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.9571, allocations: 0 / 1.171 GB, free: 288 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.728e-05/0.9572, allocations: 4 kB / 1.171 GB, free: 284 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.9572, allocations: 3.938 kB / 1.171 GB, free: 280 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.66e-05/0.9572, allocations: 4 kB / 1.171 GB, free: 276 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.9572, allocations: 0 / 1.171 GB, free: 276 kB / 0.8887 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.0001063/0.9573, allocations: 201 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.768e-05/0.9574, allocations: 119.4 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.084e-05/0.9575, allocations: 112.9 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.567e-05/0.9576, allocations: 184.2 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.381e-05/0.9576, allocations: 184.2 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.608e-05/0.9577, allocations: 184.2 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.9579, allocations: 413.3 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.448e-05/0.958, allocations: 116.9 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.673e-05/0.958, allocations: 108.9 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.585e-05/0.9581, allocations: 176.3 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-05/0.9581, allocations: 180.2 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.246e-05/0.9582, allocations: 180.3 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.537e-05/0.9583, allocations: 180.2 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.9584, allocations: 315.7 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.493e-05/0.9585, allocations: 186 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.944e-05/0.9586, allocations: 180.3 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-05/0.9587, allocations: 116.9 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.364e-05/0.9587, allocations: 188.1 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-05/0.9588, allocations: 105 kB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000105/0.9589, allocations: 135.1 kB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9589, allocations: 0 / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002197/0.9591, allocations: 4 kB / 1.174 GB, free: 12.55 MB / 0.9044 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.0001655/0.9593, allocations: 177.2 kB / 1.174 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.374e-05/0.9594, allocations: 12.27 kB / 1.174 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.9594, allocations: 4.062 kB / 1.174 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/0.9594, allocations: 0 / 1.174 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004596/0.9598, allocations: 459.7 kB / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003389/0.9602, allocations: 241.9 kB / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.9605, allocations: 0.6924 MB / 1.176 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.045e-05/0.9605, allocations: 7.438 kB / 1.176 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of SimCode: time 3.31e-07/0.9605, allocations: 0 / 1.176 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of Templates: time 0.002156/0.9627, allocations: 0.7653 MB / 1.176 GB, free: 10.14 MB / 0.9044 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/jenkins1/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