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.503/1.503, allocations: 249.3 MB / 261.8 MB, free: 5.945 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.001056/0.001056, allocations: 182.5 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.0008518/0.0008518, allocations: 92.86 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.311e-05/4.315e-05, allocations: 4 kB / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2125, allocations: 106.3 MB / 0.8918 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6824/0.895, allocations: 130.9 MB / 1.02 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/0.8953, allocations: 72.27 kB / 1.02 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001595/0.8969, allocations: 0.6971 MB / 1.02 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.093e-06/0.8969, allocations: 0 / 1.02 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.8969, allocations: 0 / 1.02 GB, free: 3.086 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.0002907/0.8972, allocations: 341.8 kB / 1.021 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.8972, allocations: 12.03 kB / 1.021 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.8973, allocations: 7.906 kB / 1.021 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.8975, allocations: 185.7 kB / 1.021 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.8975, allocations: 7.875 kB / 1.021 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.8975, allocations: 4 kB / 1.021 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.8977, allocations: 69.36 kB / 1.021 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.8977, allocations: 0 / 1.021 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.8977, allocations: 3.875 kB / 1.021 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/0.8977, allocations: 4 kB / 1.021 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.958e-05/0.8978, allocations: 42.72 kB / 1.021 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005009/0.8983, allocations: 495.9 kB / 1.022 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.053e-05/0.8984, allocations: 173 kB / 1.022 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.046e-05/0.8984, allocations: 82.73 kB / 1.022 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.8984, allocations: 79.23 kB / 1.022 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.8985, allocations: 113.8 kB / 1.022 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.8985, allocations: 0 / 1.022 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 7.972e-05/0.8986, allocations: 33.59 kB / 1.022 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/0.8986, allocations: 134.5 kB / 1.022 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.8988, allocations: 158.1 kB / 1.022 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.8988, allocations: 25.7 kB / 1.022 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.904e-05/0.8989, allocations: 94.8 kB / 1.022 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.8989, allocations: 4 kB / 1.022 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.8989, allocations: 2.5 kB / 1.022 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.899, allocations: 317.5 kB / 1.023 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.439e-05/0.899, allocations: 4 kB / 1.023 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.432e-05/0.8991, allocations: 15.8 kB / 1.023 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.225e-05/0.8991, allocations: 4 kB / 1.023 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.8991, allocations: 0 / 1.023 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001045/0.8992, allocations: 48.92 kB / 1.023 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.8992, allocations: 15.98 kB / 1.023 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.8992, allocations: 0 / 1.023 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.8993, allocations: 0 / 1.023 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.04e-05/0.8993, allocations: 4 kB / 1.023 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.8993, allocations: 0.625 kB / 1.023 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.526e-05/0.8994, allocations: 7.906 kB / 1.023 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.8994, allocations: 3.938 kB / 1.023 GB, free: 0.5273 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.498e-05/0.8995, allocations: 176.3 kB / 1.023 GB, free: 356 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.981e-05/0.8995, allocations: 120 kB / 1.023 GB, free: 232 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.679e-05/0.8996, allocations: 112.6 kB / 1.023 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.299e-05/0.8997, allocations: 180.2 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.536e-05/0.8997, allocations: 183.4 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.664e-05/0.8998, allocations: 184.2 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.9, allocations: 420 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.989e-05/0.9, allocations: 101.1 kB / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.749e-05/0.9001, allocations: 109.2 kB / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.158e-05/0.9001, allocations: 180.3 kB / 1.024 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.526e-05/0.9002, allocations: 188 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.835e-05/0.9003, allocations: 184.2 kB / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.74e-05/0.9003, allocations: 180.3 kB / 1.025 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.9005, allocations: 306.8 kB / 1.025 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.122e-05/0.9006, allocations: 193.9 kB / 1.025 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.824e-05/0.9007, allocations: 179.5 kB / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.717e-05/0.9008, allocations: 107.9 kB / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.842e-05/0.9008, allocations: 192.1 kB / 1.026 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.175e-05/0.9009, allocations: 105 kB / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.295e-05/0.901, allocations: 131.9 kB / 1.026 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.901, allocations: 0 / 1.026 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002043/0.9012, allocations: 4 kB / 1.026 GB, free: 12.89 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.0001495/0.9013, allocations: 178.5 kB / 1.026 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 5.387e-05/0.9014, allocations: 16.2 kB / 1.026 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.9014, allocations: 0 / 1.026 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.387e-06/0.9014, allocations: 3.984 kB / 1.026 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.9018, allocations: 0.5221 MB / 1.027 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002253/0.902, allocations: 163.2 kB / 1.027 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.9023, allocations: 0.7004 MB / 1.028 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.306e-05/0.9023, allocations: 4 kB / 1.028 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.33e-05/0.9023, allocations: 11.44 kB / 1.028 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of SimCode: time 3.21e-07/0.9023, allocations: 0 / 1.028 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of Templates: time 0.002141/0.9045, allocations: 451.5 kB / 1.028 GB, free: 10.81 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