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.421/1.421, allocations: 249.5 MB / 257 MB, free: 6.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009875/0.0009874, allocations: 176.9 kB / 316.3 MB, free: 3.277 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.784/1.784, allocations: 205.3 MB / 0.5671 GB, free: 15.91 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.0009067/0.0009067, allocations: 94.27 kB / 0.6714 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.368e-05/2.369e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2548, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.787/1.042, allocations: 131.2 MB / 1.013 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/1.042, allocations: 74.31 kB / 1.013 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001597/1.044, allocations: 0.6926 MB / 1.014 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.713e-06/1.044, allocations: 0.75 kB / 1.014 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.427e-06/1.044, allocations: 0 / 1.014 GB, free: 5.93 MB / 0.6355 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.0003144/1.044, allocations: 342.3 kB / 1.014 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/1.044, allocations: 8.031 kB / 1.014 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.416e-05/1.044, allocations: 7.906 kB / 1.014 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/1.044, allocations: 189.6 kB / 1.015 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/1.044, allocations: 4 kB / 1.015 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/1.044, allocations: 4 kB / 1.015 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.202e-05/1.045, allocations: 39.23 kB / 1.015 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/1.045, allocations: 69.09 kB / 1.015 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/1.045, allocations: 4 kB / 1.015 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/1.045, allocations: 0 / 1.015 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/1.045, allocations: 0 / 1.015 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004461/1.045, allocations: 451.1 kB / 1.015 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.058e-05/1.045, allocations: 172.8 kB / 1.015 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.124e-05/1.045, allocations: 80.25 kB / 1.015 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/1.045, allocations: 79.22 kB / 1.015 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.945e-05/1.045, allocations: 117.8 kB / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/1.045, allocations: 0 / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 6.942e-05/1.045, allocations: 25.7 kB / 1.016 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/1.045, allocations: 51.41 kB / 1.016 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.942e-05/1.046, allocations: 113.5 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/1.046, allocations: 25.7 kB / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.029e-05/1.046, allocations: 99.88 kB / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/1.046, allocations: 0 / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-06/1.046, allocations: 4 kB / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001007/1.046, allocations: 317.4 kB / 1.016 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.688e-05/1.046, allocations: 11.92 kB / 1.016 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.378e-06/1.046, allocations: 7.938 kB / 1.016 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.523e-05/1.046, allocations: 11.86 kB / 1.016 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/1.046, allocations: 0 / 1.016 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.908e-05/1.046, allocations: 41.69 kB / 1.016 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/1.046, allocations: 4 kB / 1.016 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/1.046, allocations: 8.078 kB / 1.016 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/1.046, allocations: 3.953 kB / 1.016 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.339e-05/1.046, allocations: 4 kB / 1.016 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/1.046, allocations: 0 / 1.016 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.168e-05/1.046, allocations: 7.984 kB / 1.016 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/1.046, allocations: 1.75 kB / 1.016 GB, free: 3.543 MB / 0.6355 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 8.137e-05/1.046, allocations: 184 kB / 1.016 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.969e-05/1.046, allocations: 104.9 kB / 1.017 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.462e-05/1.046, allocations: 116.9 kB / 1.017 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-05/1.046, allocations: 176.3 kB / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.806e-05/1.046, allocations: 184.2 kB / 1.017 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-05/1.047, allocations: 176.3 kB / 1.017 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/1.047, allocations: 397.4 kB / 1.018 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.8e-05/1.047, allocations: 112.9 kB / 1.018 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.188e-05/1.047, allocations: 101 kB / 1.018 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.316e-05/1.047, allocations: 176.3 kB / 1.018 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.12e-05/1.047, allocations: 180.5 kB / 1.018 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-05/1.047, allocations: 192.2 kB / 1.018 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.159e-05/1.047, allocations: 180.2 kB / 1.018 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/1.047, allocations: 315.4 kB / 1.019 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.234e-05/1.047, allocations: 182.1 kB / 1.019 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.79e-05/1.047, allocations: 184.7 kB / 1.019 GB, free: 480 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.612e-05/1.047, allocations: 104.9 kB / 1.019 GB, free: 372 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.558e-05/1.048, allocations: 180.3 kB / 1.019 GB, free: 184 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.942e-05/1.048, allocations: 109.8 kB / 1.02 GB, free: 68 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.162e-05/1.048, allocations: 95.19 kB / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.21e-07/1.048, allocations: 0 / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002046/1.048, allocations: 11.94 kB / 1.02 GB, free: 15.96 MB / 0.6511 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.0001489/1.048, allocations: 182.2 kB / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 5.868e-05/1.048, allocations: 8 kB / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.048, allocations: 4.062 kB / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/1.048, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/1.048, allocations: 0.5201 MB / 1.02 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002205/1.049, allocations: 156 kB / 1.02 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/1.049, allocations: 0.704 MB / 1.021 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.11e-05/1.049, allocations: 7.906 kB / 1.021 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.992e-05/1.049, allocations: 7.438 kB / 1.021 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of SimCode: time 2.21e-07/1.049, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of Templates: time 0.001866/1.051, allocations: 265.1 kB / 1.021 GB, free: 14.09 MB / 0.6511 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