Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01015/0.01015, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001715/0.001716, allocations: 190.4 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.557/1.557, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.617/2.617, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 73.03 kB / 0.9509 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3638, allocations: 140.4 MB / 1.088 GB, free: 1.445 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.002219/0.366, allocations: 0.6575 MB / 1.089 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001811/0.3662, allocations: 23.92 kB / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.697e-05/0.3663, allocations: 0 / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.3664, allocations: 3.938 kB / 1.089 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.902e-05/0.3665, allocations: 0 / 1.089 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 8.728e-05/0.3666, allocations: 7.984 kB / 1.089 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.3667, allocations: 23.92 kB / 1.089 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.3669, allocations: 35.98 kB / 1.089 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.388e-05/0.3669, allocations: 11.94 kB / 1.089 GB, free: 0.6836 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.89e-05/0.367, allocations: 15.92 kB / 1.089 GB, free: 0.668 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.367, allocations: 4 kB / 1.089 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.272e-05/0.367, allocations: 4 kB / 1.089 GB, free: 0.6602 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.775e-05/0.3671, allocations: 15.94 kB / 1.089 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.652e-05/0.3671, allocations: 19.86 kB / 1.089 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.3673, allocations: 43.81 kB / 1.089 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3673, allocations: 0 / 1.089 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3673, allocations: 0 / 1.089 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.3673, allocations: 0 / 1.089 GB, free: 0.582 MB / 0.8419 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.0004652/0.3678, allocations: 351.4 kB / 1.089 GB, free: 192 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.3678, allocations: 8.031 kB / 1.089 GB, free: 184 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/0.3679, allocations: 8.844 kB / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.3681, allocations: 180.2 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.3681, allocations: 12.38 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.3681, allocations: 384 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.3683, allocations: 82.16 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.3683, allocations: 192 / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.3684, allocations: 7.938 kB / 1.089 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3684, allocations: 0 / 1.089 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.186e-05/0.3685, allocations: 47.97 kB / 1.089 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006063/0.3691, allocations: 487 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.578e-05/0.3692, allocations: 177.1 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.132e-05/0.3692, allocations: 80.52 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.3693, allocations: 79.28 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/0.3693, allocations: 113.8 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.513e-06/0.3693, allocations: 0 / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001004/0.3694, allocations: 33.7 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.629e-05/0.3695, allocations: 130.7 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.3697, allocations: 175 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.3697, allocations: 25.7 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.028e-05/0.3698, allocations: 100 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.352e-06/0.3698, allocations: 0 / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.3699, allocations: 17.66 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.37, allocations: 322.8 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.754e-05/0.37, allocations: 4 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.747e-05/0.3701, allocations: 19.98 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.963e-05/0.3701, allocations: 8.859 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.3701, allocations: 0 / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001357/0.3703, allocations: 57.58 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3703, allocations: 4 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.3703, allocations: 0 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.3703, allocations: 96 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.65e-05/0.3704, allocations: 8.109 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.564e-05/0.3704, allocations: 11.81 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.002e-05/0.3705, allocations: 7.938 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.3705, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 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.0001149/0.3706, allocations: 197.1 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.247e-05/0.3707, allocations: 108.9 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.386e-05/0.3707, allocations: 112.8 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.839e-05/0.3708, allocations: 188.2 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.928e-05/0.3709, allocations: 180.2 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.786e-05/0.371, allocations: 180.2 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002805/0.3713, allocations: 418.6 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-05/0.3713, allocations: 109 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.907e-05/0.3714, allocations: 108.9 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-05/0.3715, allocations: 176.3 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.64e-05/0.3715, allocations: 180.2 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.523e-05/0.3716, allocations: 180.3 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.543e-05/0.3717, allocations: 192.1 kB / 1.093 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.3719, allocations: 303.7 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.962e-05/0.372, allocations: 194 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.118e-05/0.3721, allocations: 180.2 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.65e-05/0.3722, allocations: 105.3 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.274e-05/0.3722, allocations: 184.1 kB / 1.094 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.672e-05/0.3723, allocations: 109 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001171/0.3724, allocations: 137.1 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3724, allocations: 3.938 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002524/0.3727, allocations: 4 kB / 1.095 GB, free: 10.14 MB / 0.8575 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.0001924/0.3729, allocations: 174.5 kB / 1.095 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.411e-05/0.373, allocations: 15.92 kB / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.373, allocations: 0 / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/0.373, allocations: 4.062 kB / 1.095 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004826/0.3735, allocations: 459.7 kB / 1.095 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003894/0.3739, allocations: 216.2 kB / 1.095 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.3742, allocations: 0.6963 MB / 1.096 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.82e-05/0.3742, allocations: 4 kB / 1.096 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.194e-05/0.3743, allocations: 15.44 kB / 1.096 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of SimCode: time 1.733e-06/0.3743, allocations: 0 / 1.096 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of Templates: time 0.002874/0.3772, allocations: 479.1 kB / 1.097 GB, free: 8.047 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches