Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00748/0.00748, allocations: 102.4 kB / 15.73 MB, free: 6.488 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.001852/0.001852, allocations: 203 kB / 16.68 MB, free: 6.367 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.777/2.777, allocations: 469.8 MB / 0.7425 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 67.91 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3663, allocations: 159.1 MB / 1.221 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002136/0.3685, allocations: 0.6595 MB / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001673/0.3686, allocations: 8 kB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.933e-05/0.3687, allocations: 0 / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.3688, allocations: 7.938 kB / 1.221 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.281e-05/0.3688, allocations: 7.984 kB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.242e-05/0.3689, allocations: 0 / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.369, allocations: 27.92 kB / 1.221 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.3692, allocations: 27.97 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.237e-05/0.3692, allocations: 15.94 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.562e-05/0.3693, allocations: 15.92 kB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.3693, allocations: 3.938 kB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.069e-05/0.3693, allocations: 4 kB / 1.221 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.602e-05/0.3693, allocations: 11.94 kB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.787e-05/0.3694, allocations: 19.88 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.3695, allocations: 51.73 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3695, allocations: 0 / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.445e-06/0.3695, allocations: 0 / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.3695, allocations: 4 kB / 1.222 GB, free: 12.95 MB / 0.9825 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.0004309/0.3699, allocations: 351.3 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.37, allocations: 8.031 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.37, allocations: 12.89 kB / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.3702, allocations: 184.2 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.3702, allocations: 384 / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.3702, allocations: 8.375 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.3704, allocations: 78.16 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.3704, allocations: 192 / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.3704, allocations: 11.94 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.3705, allocations: 0 / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.135e-05/0.3705, allocations: 47.97 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004965/0.371, allocations: 487.1 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.045e-05/0.3711, allocations: 173.1 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.077e-05/0.3711, allocations: 85.98 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.3712, allocations: 75.28 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/0.3712, allocations: 105.8 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3712, allocations: 0 / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.62e-05/0.3713, allocations: 33.66 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.3713, allocations: 130.7 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.3715, allocations: 175.5 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.3715, allocations: 29.7 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.729e-05/0.3716, allocations: 100.1 kB / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-06/0.3716, allocations: 0 / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/0.3716, allocations: 9.719 kB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.3717, allocations: 318.8 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.954e-05/0.3717, allocations: 8 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.737e-05/0.3718, allocations: 7.984 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.683e-05/0.3718, allocations: 20.92 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3718, allocations: 0 / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001227/0.3719, allocations: 53.62 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.3719, allocations: 4 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.3719, allocations: 4 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.372, allocations: 0 / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.585e-05/0.372, allocations: 3.938 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.372, allocations: 7.984 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.95e-05/0.372, allocations: 11.89 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.3721, allocations: 4 kB / 1.224 GB, free: 10.22 MB / 0.9825 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.0001045/0.3722, allocations: 197.7 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.461e-05/0.3722, allocations: 105 kB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.716e-05/0.3723, allocations: 116.8 kB / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.655e-05/0.3723, allocations: 180.2 kB / 1.225 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-05/0.3724, allocations: 184.2 kB / 1.225 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.518e-05/0.3725, allocations: 188.2 kB / 1.225 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.3727, allocations: 417.2 kB / 1.225 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.358e-05/0.3727, allocations: 108.9 kB / 1.225 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.093e-05/0.3727, allocations: 105 kB / 1.225 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.357e-05/0.3728, allocations: 180.3 kB / 1.226 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.757e-05/0.3729, allocations: 184.2 kB / 1.226 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.194e-05/0.3729, allocations: 180.3 kB / 1.226 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-05/0.373, allocations: 188.1 kB / 1.226 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.3731, allocations: 308 kB / 1.226 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.267e-05/0.3732, allocations: 194 kB / 1.227 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.946e-05/0.3733, allocations: 184.2 kB / 1.227 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.028e-05/0.3733, allocations: 104.9 kB / 1.227 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.677e-05/0.3734, allocations: 188.2 kB / 1.227 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.424e-05/0.3734, allocations: 101 kB / 1.227 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.324e-05/0.3735, allocations: 133.4 kB / 1.227 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3735, allocations: 0 / 1.227 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002195/0.3738, allocations: 7.938 kB / 1.227 GB, free: 6.52 MB / 0.9825 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.0001784/0.3739, allocations: 178.5 kB / 1.228 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.474e-05/0.374, allocations: 11.98 kB / 1.228 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.374, allocations: 0 / 1.228 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.374, allocations: 0 / 1.228 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005012/0.3745, allocations: 463.8 kB / 1.228 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/0.3749, allocations: 224 kB / 1.228 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.3751, allocations: 0.6924 MB / 1.229 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.554e-05/0.3752, allocations: 8 kB / 1.229 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.556e-05/0.3752, allocations: 11.38 kB / 1.229 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.3752, allocations: 0 / 1.229 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of Templates: time 0.002735/0.3779, allocations: 482.6 kB / 1.229 GB, free: 4.414 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches