Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.396/1.396, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001285/0.001286, allocations: 183.3 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.973/1.973, allocations: 205.4 MB / 0.5775 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009076/0.0009076, allocations: 100.5 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003463, allocations: 12 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2366, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1775/0.4142, allocations: 131 MB / 1.028 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.4145, allocations: 67.95 kB / 1.028 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001651/0.4162, allocations: 0.6889 MB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4162, allocations: 3.938 kB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.4162, allocations: 0 / 1.029 GB, free: 11.91 MB / 0.6823 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.0003193/0.4165, allocations: 343.1 kB / 1.029 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.4166, allocations: 15.97 kB / 1.029 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.4166, allocations: 3.984 kB / 1.029 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.4168, allocations: 194.9 kB / 1.029 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.4169, allocations: 0 / 1.029 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.4169, allocations: 4 kB / 1.029 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.417, allocations: 73.67 kB / 1.029 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.417, allocations: 0 / 1.029 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.4171, allocations: 0 / 1.029 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.956e-06/0.4171, allocations: 7.969 kB / 1.029 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.219e-05/0.4171, allocations: 51.84 kB / 1.029 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005099/0.4177, allocations: 487.1 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.967e-05/0.4178, allocations: 169.1 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.4178, allocations: 75.28 kB / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/0.4178, allocations: 113.8 kB / 1.03 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.4178, allocations: 4 kB / 1.03 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 6.783e-05/0.4179, allocations: 29.61 kB / 1.03 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.418, allocations: 134.6 kB / 1.03 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.4181, allocations: 159.8 kB / 1.031 GB, free: 9.887 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.4182, allocations: 25.7 kB / 1.031 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.498e-05/0.4182, allocations: 96.12 kB / 1.031 GB, free: 9.758 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-06/0.4182, allocations: 4 kB / 1.031 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-06/0.4182, allocations: 0 / 1.031 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.4184, allocations: 319.5 kB / 1.031 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/0.4184, allocations: 7.984 kB / 1.031 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.002e-05/0.4184, allocations: 4 kB / 1.031 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.013e-05/0.4184, allocations: 11.98 kB / 1.031 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4184, allocations: 0 / 1.031 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001074/0.4186, allocations: 53.59 kB / 1.031 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.4186, allocations: 4.094 kB / 1.031 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.4186, allocations: 7.953 kB / 1.031 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.4186, allocations: 0 / 1.031 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.414e-05/0.4187, allocations: 4 kB / 1.031 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.4187, allocations: 3.938 kB / 1.031 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.61e-05/0.4187, allocations: 11.92 kB / 1.031 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.4187, allocations: 4 kB / 1.031 GB, free: 9.316 MB / 0.6823 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.0001047/0.4188, allocations: 193.1 kB / 1.031 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.759e-05/0.4189, allocations: 112.9 kB / 1.031 GB, free: 9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.213e-05/0.419, allocations: 108.9 kB / 1.031 GB, free: 8.887 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.639e-05/0.419, allocations: 189.9 kB / 1.032 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.376e-05/0.4191, allocations: 188.2 kB / 1.032 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.858e-05/0.4192, allocations: 180.2 kB / 1.032 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.4194, allocations: 413.2 kB / 1.032 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.966e-05/0.4194, allocations: 116.9 kB / 1.033 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.532e-05/0.4195, allocations: 104.9 kB / 1.033 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-05/0.4196, allocations: 180.3 kB / 1.033 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-05/0.4196, allocations: 184.2 kB / 1.033 GB, free: 7.258 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-05/0.4197, allocations: 180.3 kB / 1.033 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.327e-05/0.4198, allocations: 184.2 kB / 1.033 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.4199, allocations: 307.7 kB / 1.034 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.785e-05/0.42, allocations: 193.9 kB / 1.034 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.034e-05/0.4201, allocations: 184.3 kB / 1.034 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.304e-05/0.4202, allocations: 104.9 kB / 1.034 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.4203, allocations: 189 kB / 1.034 GB, free: 5.859 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/0.4203, allocations: 105 kB / 1.034 GB, free: 5.75 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.083e-05/0.4204, allocations: 131.2 kB / 1.034 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4204, allocations: 0 / 1.034 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001921/0.4206, allocations: 4 kB / 1.034 GB, free: 5.617 MB / 0.6823 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.0001778/0.4208, allocations: 178.5 kB / 1.035 GB, free: 5.434 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 6.833e-05/0.4208, allocations: 8 kB / 1.035 GB, free: 5.426 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4209, allocations: 0 / 1.035 GB, free: 5.426 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.4209, allocations: 0 / 1.035 GB, free: 5.426 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.4212, allocations: 0.5263 MB / 1.035 GB, free: 4.895 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003034/0.4215, allocations: 214.1 kB / 1.035 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.4218, allocations: 0.6965 MB / 1.036 GB, free: 3.934 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.415e-05/0.4218, allocations: 7.938 kB / 1.036 GB, free: 3.926 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.629e-05/0.4218, allocations: 11.44 kB / 1.036 GB, free: 3.914 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/0.4218, allocations: 0 / 1.036 GB, free: 3.914 MB / 0.6823 GB Notification: Performance of Templates: time 0.002242/0.4241, allocations: 438.8 kB / 1.037 GB, free: 3.488 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches