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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001015/0.001015, allocations: 99.11 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 185.8 kB / 16.92 MB, free: 6.75 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.406/1.406, allocations: 223.3 MB / 241 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.629/2.629, allocations: 437.8 MB / 0.7128 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.0003622, allocations: 12 kB / 0.8735 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7037/0.7041, allocations: 153.8 MB / 1.024 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.0008767/0.705, allocations: 382.5 kB / 1.024 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001469/0.7052, allocations: 19.81 kB / 1.024 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.193e-05/0.7052, allocations: 0 / 1.024 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.276e-05/0.7053, allocations: 3.984 kB / 1.024 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.238e-05/0.7054, allocations: 4 kB / 1.024 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 7.622e-05/0.7055, allocations: 4 kB / 1.024 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.098e-05/0.7055, allocations: 23.92 kB / 1.024 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.7057, allocations: 31.98 kB / 1.024 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.707e-05/0.7057, allocations: 11.92 kB / 1.024 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.267e-05/0.7058, allocations: 7.938 kB / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.7058, allocations: 0 / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.104e-05/0.7058, allocations: 0 / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.72e-05/0.7058, allocations: 11.94 kB / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.494e-05/0.7059, allocations: 41.58 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.648e-05/0.706, allocations: 35.92 kB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.706, allocations: 0 / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.744e-06/0.706, allocations: 0 / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.706, allocations: 0 / 1.024 GB, free: 15.23 MB / 0.7794 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.0003346/0.7064, allocations: 337.4 kB / 1.025 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.7064, allocations: 12.03 kB / 1.025 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.7065, allocations: 0.9375 kB / 1.025 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.7067, allocations: 196.1 kB / 1.025 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.7067, allocations: 4.375 kB / 1.025 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.7067, allocations: 12.36 kB / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.7069, allocations: 78.16 kB / 1.025 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.7069, allocations: 192 / 1.025 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.7069, allocations: 3.938 kB / 1.025 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.707, allocations: 4 kB / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.981e-05/0.707, allocations: 51.97 kB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005668/0.7076, allocations: 487 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.982e-05/0.7077, allocations: 169.1 kB / 1.026 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.212e-05/0.7078, allocations: 84.14 kB / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.7078, allocations: 79.28 kB / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.003e-05/0.7079, allocations: 105.8 kB / 1.026 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.7079, allocations: 0 / 1.026 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 9.015e-05/0.708, allocations: 33.61 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.833e-05/0.708, allocations: 126.7 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.7082, allocations: 175.9 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.7083, allocations: 29.7 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.7083, allocations: 92.14 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.242e-06/0.7083, allocations: 7.938 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/0.7084, allocations: 9.719 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.7085, allocations: 318.8 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.982e-05/0.7085, allocations: 11.94 kB / 1.027 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.403e-05/0.7085, allocations: 7.984 kB / 1.027 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.735e-05/0.7086, allocations: 12.86 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.7086, allocations: 0 / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001358/0.7087, allocations: 57.64 kB / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.7087, allocations: 8 kB / 1.027 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.7088, allocations: 0 / 1.027 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.7088, allocations: 0 / 1.027 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.724e-05/0.7088, allocations: 112 / 1.027 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.7088, allocations: 15.81 kB / 1.027 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.974e-05/0.7089, allocations: 7.906 kB / 1.027 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.7089, allocations: 0 / 1.027 GB, free: 12.52 MB / 0.7794 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.0001002/0.709, allocations: 193.6 kB / 1.027 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.012e-05/0.7091, allocations: 109 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.222e-05/0.7091, allocations: 116.8 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.958e-05/0.7092, allocations: 180.2 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.336e-05/0.7093, allocations: 184.2 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.653e-05/0.7093, allocations: 184.2 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.7096, allocations: 425.2 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.545e-05/0.7096, allocations: 101 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.538e-05/0.7096, allocations: 104.9 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.411e-05/0.7097, allocations: 180.3 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.937e-05/0.7098, allocations: 184.2 kB / 1.029 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.348e-05/0.7098, allocations: 176.3 kB / 1.029 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.179e-05/0.7099, allocations: 192.1 kB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.7101, allocations: 307.7 kB / 1.029 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-05/0.7101, allocations: 193.9 kB / 1.029 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.608e-05/0.7102, allocations: 176.3 kB / 1.03 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.453e-05/0.7103, allocations: 112.9 kB / 1.03 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.168e-05/0.7104, allocations: 180.2 kB / 1.03 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.399e-05/0.7104, allocations: 109.3 kB / 1.03 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001139/0.7105, allocations: 132 kB / 1.03 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7105, allocations: 0 / 1.03 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002177/0.7108, allocations: 4 kB / 1.03 GB, free: 8.824 MB / 0.7794 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.000164/0.7109, allocations: 182.5 kB / 1.03 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.009e-05/0.711, allocations: 12 kB / 1.03 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.711, allocations: 0 / 1.03 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.711, allocations: 0 / 1.03 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005526/0.7116, allocations: 0.5224 MB / 1.031 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003352/0.7119, allocations: 255.8 kB / 1.031 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.7122, allocations: 0.6926 MB / 1.032 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.7123, allocations: 15.38 kB / 1.032 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.7123, allocations: 0 / 1.032 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of Templates: time 0.002266/0.7145, allocations: 0.7535 MB / 1.032 GB, free: 6.32 MB / 0.7794 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