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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.212/2.212, allocations: 387.4 MB / 394.9 MB, free: 13.34 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 184.5 kB / 487.4 MB, free: 5.059 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 221.5 MB / 0.7824 GB, free: 0.9648 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009484/0.0009484, allocations: 105.3 kB / 0.9219 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.123e-05/2.125e-05, allocations: 12 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2303, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7931/1.023, allocations: 147.7 MB / 1.35 GB, free: 18.51 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001772/1.024, allocations: 68.22 kB / 1.35 GB, free: 18.51 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001886/1.026, allocations: 0.6906 MB / 1.351 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.032e-06/1.026, allocations: 0 / 1.351 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.975e-06/1.026, allocations: 8.625 kB / 1.351 GB, free: 34.17 MB / 0.8386 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.0002217/1.026, allocations: 336.1 kB / 1.351 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/1.026, allocations: 8.406 kB / 1.351 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.624e-05/1.026, allocations: 3.844 kB / 1.351 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/1.026, allocations: 182 kB / 1.351 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/1.026, allocations: 3.812 kB / 1.351 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/1.026, allocations: 3.906 kB / 1.352 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.387e-05/1.026, allocations: 36.02 kB / 1.352 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.673e-05/1.026, allocations: 78.8 kB / 1.352 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-06/1.026, allocations: 4 kB / 1.352 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/1.026, allocations: 0 / 1.352 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/1.026, allocations: 0.7969 kB / 1.352 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003828/1.027, allocations: 454.4 kB / 1.352 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.941e-05/1.027, allocations: 170.6 kB / 1.352 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.87e-05/1.027, allocations: 80.75 kB / 1.352 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/1.027, allocations: 75.28 kB / 1.352 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/1.027, allocations: 114.2 kB / 1.352 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/1.027, allocations: 0 / 1.352 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.924e-05/1.027, allocations: 37.64 kB / 1.353 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.833e-05/1.027, allocations: 52.16 kB / 1.353 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.243e-05/1.027, allocations: 110.4 kB / 1.353 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.288e-06/1.027, allocations: 28.98 kB / 1.353 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.068e-05/1.027, allocations: 98.33 kB / 1.353 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.382e-06/1.027, allocations: 0 / 1.353 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-06/1.027, allocations: 0 / 1.353 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.582e-05/1.027, allocations: 312.5 kB / 1.353 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.502e-05/1.027, allocations: 12.44 kB / 1.353 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.358e-05/1.027, allocations: 13.19 kB / 1.353 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.235e-05/1.027, allocations: 8.891 kB / 1.353 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/1.027, allocations: 0 / 1.353 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.774e-05/1.027, allocations: 47.52 kB / 1.353 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/1.028, allocations: 3.312 kB / 1.353 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/1.028, allocations: 3.953 kB / 1.353 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/1.028, allocations: 7.891 kB / 1.353 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.751e-05/1.028, allocations: 6.109 kB / 1.353 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-06/1.028, allocations: 0 / 1.353 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.908e-05/1.028, allocations: 8.203 kB / 1.353 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/1.028, allocations: 0 / 1.353 GB, free: 32.05 MB / 0.8386 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 () * 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 6.936e-05/1.028, allocations: 177.1 kB / 1.353 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.523e-05/1.028, allocations: 109.1 kB / 1.353 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.841e-05/1.028, allocations: 109.5 kB / 1.354 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.323e-05/1.028, allocations: 184.3 kB / 1.354 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.736e-05/1.028, allocations: 184.9 kB / 1.354 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.196e-05/1.028, allocations: 181.3 kB / 1.354 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/1.028, allocations: 397.3 kB / 1.354 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.486e-05/1.028, allocations: 101.8 kB / 1.355 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.335e-05/1.028, allocations: 101.6 kB / 1.355 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.419e-05/1.028, allocations: 184.3 kB / 1.355 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-05/1.028, allocations: 181.1 kB / 1.355 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.904e-05/1.028, allocations: 183.8 kB / 1.355 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.605e-05/1.028, allocations: 189.2 kB / 1.355 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/1.029, allocations: 310.7 kB / 1.356 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.38e-05/1.029, allocations: 188 kB / 1.356 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.004e-05/1.029, allocations: 180.2 kB / 1.356 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.85e-05/1.029, allocations: 102.2 kB / 1.356 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/1.029, allocations: 181 kB / 1.356 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/1.029, allocations: 104.8 kB / 1.356 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.958e-05/1.029, allocations: 96.16 kB / 1.356 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.61e-07/1.029, allocations: 4 kB / 1.356 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002192/1.029, allocations: 11.66 kB / 1.356 GB, free: 28.55 MB / 0.8386 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 () * 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.0001702/1.029, allocations: 178.2 kB / 1.357 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.158e-05/1.029, allocations: 11.56 kB / 1.357 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/1.029, allocations: 7.875 kB / 1.357 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.183e-06/1.029, allocations: 0 / 1.357 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/1.03, allocations: 0.5239 MB / 1.357 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001953/1.03, allocations: 157.7 kB / 1.357 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/1.03, allocations: 0.6927 MB / 1.358 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.008e-05/1.03, allocations: 3.109 kB / 1.358 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.7e-05/1.03, allocations: 8.688 kB / 1.358 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of SimCode: time 2.21e-07/1.03, allocations: 0 / 1.358 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of Templates: time 0.001838/1.032, allocations: 263.4 kB / 1.358 GB, free: 26.96 MB / 0.8386 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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches