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.MultiMin.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.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.554/1.554, allocations: 251.9 MB / 266.9 MB, free: 11.06 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.001131/0.001131, allocations: 180.3 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.201/2.201, allocations: 205.4 MB / 0.5775 GB, free: 20.31 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.0009188/0.0009187, allocations: 91.8 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003353/0.0003353, allocations: 15.38 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2406, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1736/0.4143, allocations: 131 MB / 1.028 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001946/0.4145, allocations: 67.95 kB / 1.028 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001726/0.4163, allocations: 0.7668 MB / 1.029 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4163, allocations: 7.875 kB / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.325e-06/0.4163, allocations: 0 / 1.029 GB, free: 11.89 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.0003147/0.4166, allocations: 343.1 kB / 1.029 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.4167, allocations: 16.02 kB / 1.029 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.087e-05/0.4167, allocations: 4 kB / 1.029 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.4169, allocations: 178.9 kB / 1.029 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.417, allocations: 8 kB / 1.029 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.417, allocations: 4 kB / 1.029 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.4171, allocations: 65.67 kB / 1.029 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.4171, allocations: 3.938 kB / 1.029 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.4172, allocations: 15.97 kB / 1.029 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.4172, allocations: 0 / 1.029 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.377e-05/0.4173, allocations: 43.91 kB / 1.03 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005185/0.4178, allocations: 499 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.897e-05/0.4179, allocations: 165.1 kB / 1.03 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.4179, allocations: 79.28 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.418, allocations: 109.8 kB / 1.03 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.418, allocations: 0 / 1.03 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 7.328e-05/0.4181, allocations: 37.55 kB / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.4181, allocations: 126.7 kB / 1.03 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.4183, allocations: 162.8 kB / 1.031 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.4183, allocations: 25.7 kB / 1.031 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.24e-05/0.4184, allocations: 100.1 kB / 1.031 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-06/0.4184, allocations: 0 / 1.031 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/0.4184, allocations: 0 / 1.031 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.4185, allocations: 315.5 kB / 1.031 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.844e-05/0.4185, allocations: 11.98 kB / 1.031 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.136e-05/0.4185, allocations: 4 kB / 1.031 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.642e-05/0.4186, allocations: 11.98 kB / 1.031 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4186, allocations: 0 / 1.031 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001116/0.4187, allocations: 57.59 kB / 1.031 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.4187, allocations: 8 kB / 1.031 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.4187, allocations: 3.953 kB / 1.031 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.4187, allocations: 0 / 1.031 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.226e-05/0.4188, allocations: 4 kB / 1.031 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.4188, allocations: 3.984 kB / 1.031 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.561e-05/0.4188, allocations: 7.938 kB / 1.031 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.4188, allocations: 0 / 1.031 GB, free: 9.309 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.0001067/0.419, allocations: 197.1 kB / 1.031 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.754e-05/0.419, allocations: 108.9 kB / 1.031 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.27e-05/0.4191, allocations: 112.8 kB / 1.032 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.003e-05/0.4191, allocations: 185.9 kB / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-05/0.4192, allocations: 192.1 kB / 1.032 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.25e-05/0.4193, allocations: 180.3 kB / 1.032 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/0.4195, allocations: 417.2 kB / 1.033 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-05/0.4196, allocations: 104.9 kB / 1.033 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.4196, allocations: 105 kB / 1.033 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.435e-05/0.4197, allocations: 188.2 kB / 1.033 GB, free: 7.434 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.766e-05/0.4197, allocations: 180.2 kB / 1.033 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-05/0.4198, allocations: 176.3 kB / 1.033 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.359e-05/0.4199, allocations: 196.2 kB / 1.033 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.42, allocations: 311.7 kB / 1.034 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.741e-05/0.4201, allocations: 186 kB / 1.034 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.694e-05/0.4202, allocations: 180.3 kB / 1.034 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.365e-05/0.4203, allocations: 108.9 kB / 1.034 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.829e-05/0.4203, allocations: 189 kB / 1.034 GB, free: 5.848 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.085e-05/0.4204, allocations: 104.9 kB / 1.034 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.026e-05/0.4205, allocations: 137.4 kB / 1.035 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4205, allocations: 0 / 1.035 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002093/0.4207, allocations: 4 kB / 1.035 GB, free: 5.602 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.0001553/0.4209, allocations: 178.5 kB / 1.035 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 5.815e-05/0.4209, allocations: 4 kB / 1.035 GB, free: 5.414 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4209, allocations: 0 / 1.035 GB, free: 5.414 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.617e-06/0.4209, allocations: 3.984 kB / 1.035 GB, free: 5.41 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.4213, allocations: 0.5239 MB / 1.035 GB, free: 4.883 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002505/0.4215, allocations: 214 kB / 1.035 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.4218, allocations: 0.7004 MB / 1.036 GB, free: 3.918 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.481e-05/0.4218, allocations: 7.938 kB / 1.036 GB, free: 3.91 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.302e-05/0.4218, allocations: 7.438 kB / 1.036 GB, free: 3.902 MB / 0.6823 GB Notification: Performance of SimCode: time 2e-07/0.4219, allocations: 0 / 1.036 GB, free: 3.902 MB / 0.6823 GB Notification: Performance of Templates: time 0.002149/0.424, allocations: 437.4 kB / 1.037 GB, free: 3.477 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches