Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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_latest_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_latest_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.0008683/0.0008683, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001063/0.001063, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 223.3 MB / 240 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.902/2.902, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004996/0.0004996, allocations: 11.25 kB / 0.9022 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3652, allocations: 159.6 MB / 1.058 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.000892/0.3661, allocations: 384.7 kB / 1.058 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000155/0.3663, allocations: 4 kB / 1.058 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.853e-05/0.3664, allocations: 0 / 1.058 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.087e-05/0.3665, allocations: 3.938 kB / 1.058 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.729e-05/0.3665, allocations: 8 kB / 1.058 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001137/0.3666, allocations: 0 / 1.058 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.417e-05/0.3667, allocations: 27.92 kB / 1.058 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.3669, allocations: 35.95 kB / 1.058 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.536e-05/0.3669, allocations: 11.88 kB / 1.058 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.183e-05/0.3669, allocations: 7.938 kB / 1.059 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.367, allocations: 0 / 1.059 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.277e-05/0.367, allocations: 4 kB / 1.059 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.86e-05/0.367, allocations: 0 / 1.059 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.952e-05/0.367, allocations: 33.64 kB / 1.059 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.617e-05/0.3671, allocations: 39.92 kB / 1.059 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3671, allocations: 0 / 1.059 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3671, allocations: 0 / 1.059 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.3671, allocations: 0 / 1.059 GB, free: 4.719 MB / 0.8106 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.0003156/0.3675, allocations: 339.5 kB / 1.059 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.3675, allocations: 12.03 kB / 1.059 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.3676, allocations: 4 kB / 1.059 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.3677, allocations: 179 kB / 1.059 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.3677, allocations: 4 kB / 1.059 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.3678, allocations: 7.953 kB / 1.059 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.3679, allocations: 81.59 kB / 1.059 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.3679, allocations: 0 / 1.059 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3679, allocations: 0 / 1.059 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.368, allocations: 11.94 kB / 1.059 GB, free: 4 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.208e-05/0.368, allocations: 47.97 kB / 1.059 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/0.3685, allocations: 487 kB / 1.06 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.075e-05/0.3686, allocations: 169.1 kB / 1.06 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.507e-05/0.3687, allocations: 80.14 kB / 1.06 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/0.3687, allocations: 83.28 kB / 1.06 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.345e-05/0.3687, allocations: 105.8 kB / 1.06 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.233e-06/0.3688, allocations: 0 / 1.06 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 8.965e-05/0.3689, allocations: 45.52 kB / 1.06 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.3689, allocations: 130.6 kB / 1.06 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.3691, allocations: 167.4 kB / 1.06 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.3691, allocations: 29.7 kB / 1.06 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.928e-05/0.3692, allocations: 96.12 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-06/0.3692, allocations: 0 / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.3692, allocations: 0 / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.3693, allocations: 322.8 kB / 1.061 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.586e-05/0.3693, allocations: 4 kB / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.564e-05/0.3694, allocations: 11.98 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.766e-05/0.3694, allocations: 4 kB / 1.061 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.3694, allocations: 64 / 1.061 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001218/0.3695, allocations: 65.52 kB / 1.061 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.3696, allocations: 4 kB / 1.061 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.3696, allocations: 0 / 1.061 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.3696, allocations: 0 / 1.061 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.498e-05/0.3696, allocations: 4 kB / 1.061 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.3697, allocations: 4.062 kB / 1.061 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.727e-05/0.3697, allocations: 11.88 kB / 1.061 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.3697, allocations: 0 / 1.061 GB, free: 2.035 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.3698, allocations: 201.1 kB / 1.061 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.311e-05/0.3699, allocations: 108.9 kB / 1.061 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.418e-05/0.37, allocations: 120.8 kB / 1.061 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.527e-05/0.37, allocations: 176.3 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-05/0.3701, allocations: 176.3 kB / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.426e-05/0.3702, allocations: 184.2 kB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.3704, allocations: 425.2 kB / 1.062 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.648e-05/0.3705, allocations: 108.9 kB / 1.062 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.98e-05/0.3705, allocations: 101 kB / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.003e-05/0.3706, allocations: 176.3 kB / 1.063 GB, free: 176 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.503e-05/0.3707, allocations: 188.2 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.898e-05/0.3707, allocations: 180.3 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.551e-05/0.3708, allocations: 184.2 kB / 1.063 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.371, allocations: 311.6 kB / 1.063 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.821e-05/0.3711, allocations: 198 kB / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.477e-05/0.3712, allocations: 180.5 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.481e-05/0.3713, allocations: 108.9 kB / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.777e-05/0.3713, allocations: 184.3 kB / 1.064 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/0.3714, allocations: 104.9 kB / 1.064 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001041/0.3715, allocations: 133.4 kB / 1.064 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3715, allocations: 0 / 1.064 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002162/0.3717, allocations: 4 kB / 1.064 GB, free: 14.34 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001759/0.3719, allocations: 182.5 kB / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.013e-05/0.372, allocations: 11.98 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.372, allocations: 0 / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/0.372, allocations: 0 / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/0.3724, allocations: 0.528 MB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002782/0.3727, allocations: 221.8 kB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.373, allocations: 0.6926 MB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.811e-05/0.373, allocations: 8 kB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.294e-05/0.373, allocations: 7.438 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of SimCode: time 5.11e-07/0.373, allocations: 0 / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of Templates: time 0.002553/0.3756, allocations: 438.3 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches