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.292/2.292, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001101/0.001101, allocations: 171.4 kB / 498.1 MB, free: 5.758 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.609/1.609, allocations: 223.2 MB / 0.7949 GB, free: 18.87 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009264/0.0009263, allocations: 114.1 kB / 0.9346 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005058/0.000506, allocations: 11.59 kB / 1.084 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3013, allocations: 142.3 MB / 1.223 GB, free: 89.57 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1933/0.4947, allocations: 148.5 MB / 1.368 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.4949, allocations: 71.95 kB / 1.368 GB, free: 4.852 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001751/0.4967, allocations: 0.6928 MB / 1.369 GB, free: 4.152 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.194e-06/0.4968, allocations: 4 kB / 1.369 GB, free: 4.148 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.4968, allocations: 0 / 1.369 GB, free: 4.148 MB / 0.8698 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.0003218/0.4971, allocations: 339.2 kB / 1.369 GB, free: 3.77 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.4972, allocations: 12.03 kB / 1.369 GB, free: 3.758 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.869e-05/0.4972, allocations: 7.906 kB / 1.369 GB, free: 3.75 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.4974, allocations: 187 kB / 1.369 GB, free: 3.527 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.4974, allocations: 7.922 kB / 1.369 GB, free: 3.52 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.4974, allocations: 8 kB / 1.369 GB, free: 3.512 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.4976, allocations: 73.66 kB / 1.369 GB, free: 3.434 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.4976, allocations: 4 kB / 1.369 GB, free: 3.43 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.4976, allocations: 4 kB / 1.369 GB, free: 3.426 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.4976, allocations: 0 / 1.369 GB, free: 3.426 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.557e-05/0.4977, allocations: 43.97 kB / 1.369 GB, free: 3.383 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005569/0.4983, allocations: 485 kB / 1.37 GB, free: 2.859 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.592e-05/0.4984, allocations: 177.1 kB / 1.37 GB, free: 2.676 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.4984, allocations: 79.33 kB / 1.37 GB, free: 2.598 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.4985, allocations: 113.8 kB / 1.37 GB, free: 2.477 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.242e-06/0.4985, allocations: 0 / 1.37 GB, free: 2.477 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 8.122e-05/0.4986, allocations: 33.59 kB / 1.37 GB, free: 2.438 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.4986, allocations: 134.7 kB / 1.37 GB, free: 2.293 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.4988, allocations: 159.5 kB / 1.37 GB, free: 2.129 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.4988, allocations: 25.7 kB / 1.37 GB, free: 2.098 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.214e-05/0.4989, allocations: 96.05 kB / 1.371 GB, free: 2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.397e-06/0.4989, allocations: 0 / 1.371 GB, free: 2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.4989, allocations: 0 / 1.371 GB, free: 2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.805e-05/0.499, allocations: 318.8 kB / 1.371 GB, free: 1.68 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.707e-05/0.499, allocations: 8 kB / 1.371 GB, free: 1.672 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.492e-05/0.4991, allocations: 15.92 kB / 1.371 GB, free: 1.656 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.601e-05/0.4991, allocations: 4 kB / 1.371 GB, free: 1.652 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.4991, allocations: 0 / 1.371 GB, free: 1.652 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001254/0.4992, allocations: 57.58 kB / 1.371 GB, free: 1.59 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.4993, allocations: 11.89 kB / 1.371 GB, free: 1.578 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4993, allocations: 0 / 1.371 GB, free: 1.578 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.4993, allocations: 0 / 1.371 GB, free: 1.578 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.059e-05/0.4993, allocations: 4 kB / 1.371 GB, free: 1.574 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.4994, allocations: 0 / 1.371 GB, free: 1.574 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.611e-05/0.4994, allocations: 4.094 kB / 1.371 GB, free: 1.57 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.4994, allocations: 8 kB / 1.371 GB, free: 1.562 MB / 0.8698 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 9.552e-05/0.4995, allocations: 193.1 kB / 1.371 GB, free: 1.363 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.257e-05/0.4996, allocations: 112.8 kB / 1.371 GB, free: 1.246 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.547e-05/0.4996, allocations: 124.6 kB / 1.371 GB, free: 1.117 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.25e-05/0.4997, allocations: 176.3 kB / 1.372 GB, free: 0.9375 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.653e-05/0.4998, allocations: 184.2 kB / 1.372 GB, free: 0.75 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.937e-05/0.4998, allocations: 180.3 kB / 1.372 GB, free: 0.5664 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.5001, allocations: 425.1 kB / 1.372 GB, free: 96 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-05/0.5001, allocations: 105 kB / 1.372 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.794e-05/0.5001, allocations: 104.9 kB / 1.372 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.936e-05/0.5002, allocations: 176.3 kB / 1.373 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-05/0.5003, allocations: 188.3 kB / 1.373 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.16e-05/0.5003, allocations: 184.2 kB / 1.373 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.516e-05/0.5004, allocations: 180.2 kB / 1.373 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.5005, allocations: 303.8 kB / 1.373 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.04e-05/0.5006, allocations: 201.9 kB / 1.374 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.277e-05/0.5007, allocations: 180.2 kB / 1.374 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.488e-05/0.5008, allocations: 101 kB / 1.374 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.005e-05/0.5008, allocations: 188.2 kB / 1.374 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.5009, allocations: 109 kB / 1.374 GB, free: 14 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.273e-05/0.501, allocations: 128.6 kB / 1.374 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.501, allocations: 0 / 1.374 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002007/0.5012, allocations: 8 kB / 1.374 GB, free: 13.86 MB / 0.8855 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.0001677/0.5014, allocations: 182.3 kB / 1.374 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.088e-05/0.5014, allocations: 7.984 kB / 1.374 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5014, allocations: 0 / 1.374 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 4.438e-06/0.5015, allocations: 4.281 kB / 1.374 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.5018, allocations: 0.531 MB / 1.375 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002889/0.5021, allocations: 206 kB / 1.375 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.5023, allocations: 0.7004 MB / 1.376 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.803e-05/0.5024, allocations: 8 kB / 1.376 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.325e-05/0.5024, allocations: 11.44 kB / 1.376 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of SimCode: time 2.91e-07/0.5024, allocations: 0 / 1.376 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of Templates: time 0.00231/0.5047, allocations: 438.5 kB / 1.376 GB, free: 11.72 MB / 0.8855 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