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.512/1.512, allocations: 249.5 MB / 257 MB, free: 6.926 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.001008/0.001008, allocations: 179.6 kB / 316.3 MB, free: 3.215 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.62/1.62, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.0007934/0.0007935, allocations: 90.48 kB / 0.6714 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.179e-05/2.18e-05, allocations: 12 kB / 0.7814 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2235, allocations: 106.3 MB / 0.8852 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.786/1.01, allocations: 131.2 MB / 1.013 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/1.01, allocations: 71.52 kB / 1.013 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001697/1.012, allocations: 0.7669 MB / 1.014 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.633e-06/1.012, allocations: 3.938 kB / 1.014 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.306e-06/1.012, allocations: 0 / 1.014 GB, free: 5.789 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.0002925/1.012, allocations: 337.7 kB / 1.015 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/1.012, allocations: 8.031 kB / 1.015 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/1.012, allocations: 7.906 kB / 1.015 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/1.012, allocations: 191.9 kB / 1.015 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/1.012, allocations: 4 kB / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/1.012, allocations: 4 kB / 1.015 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001012/1.012, allocations: 37.09 kB / 1.015 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/1.012, allocations: 71.09 kB / 1.015 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/1.013, allocations: 0 / 1.015 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/1.013, allocations: 0 / 1.015 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/1.013, allocations: 0 / 1.015 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004607/1.013, allocations: 459.6 kB / 1.015 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.897e-05/1.013, allocations: 165.1 kB / 1.015 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.501e-05/1.013, allocations: 84.19 kB / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/1.013, allocations: 83.22 kB / 1.016 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/1.013, allocations: 117 kB / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/1.013, allocations: 0 / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 6.831e-05/1.013, allocations: 25.7 kB / 1.016 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/1.013, allocations: 55.39 kB / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.921e-05/1.013, allocations: 111.5 kB / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/1.013, allocations: 25.7 kB / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/1.014, allocations: 95.58 kB / 1.016 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-06/1.014, allocations: 0 / 1.016 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/1.014, allocations: 4 kB / 1.016 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001169/1.014, allocations: 324.4 kB / 1.016 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.356e-05/1.014, allocations: 4 kB / 1.016 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.372e-05/1.014, allocations: 15.23 kB / 1.016 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.229e-05/1.014, allocations: 4 kB / 1.016 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.014, allocations: 0 / 1.016 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001087/1.014, allocations: 49.3 kB / 1.016 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/1.014, allocations: 4 kB / 1.016 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/1.014, allocations: 4.094 kB / 1.016 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/1.014, allocations: 3.953 kB / 1.016 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.248e-05/1.014, allocations: 4 kB / 1.016 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/1.014, allocations: 0.7031 kB / 1.016 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.979e-05/1.014, allocations: 4 kB / 1.016 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/1.014, allocations: 0 / 1.016 GB, free: 3.406 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.113e-05/1.014, allocations: 180.3 kB / 1.017 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.759e-05/1.014, allocations: 108.9 kB / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.24e-05/1.014, allocations: 116.5 kB / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-05/1.014, allocations: 180.2 kB / 1.017 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-05/1.014, allocations: 184.2 kB / 1.017 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.994e-05/1.014, allocations: 176.3 kB / 1.017 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/1.015, allocations: 396.5 kB / 1.018 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.802e-05/1.015, allocations: 112.9 kB / 1.018 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.232e-05/1.015, allocations: 101 kB / 1.018 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-05/1.015, allocations: 180.2 kB / 1.018 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.937e-05/1.015, allocations: 184.2 kB / 1.018 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.868e-05/1.015, allocations: 184.3 kB / 1.018 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.353e-05/1.015, allocations: 180.2 kB / 1.019 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/1.015, allocations: 318.9 kB / 1.019 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.04e-05/1.015, allocations: 178.1 kB / 1.019 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.405e-05/1.015, allocations: 187.5 kB / 1.019 GB, free: 340 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.175e-05/1.015, allocations: 101 kB / 1.019 GB, free: 232 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/1.015, allocations: 184.2 kB / 1.019 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.534e-05/1.015, allocations: 108.9 kB / 1.02 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.216e-05/1.015, allocations: 99.06 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.015, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002077/1.016, allocations: 11.94 kB / 1.02 GB, free: 15.82 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.0001503/1.016, allocations: 174.5 kB / 1.02 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 6.057e-05/1.016, allocations: 8 kB / 1.02 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/1.016, allocations: 4.062 kB / 1.02 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/1.016, allocations: 0 / 1.02 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/1.016, allocations: 0.5215 MB / 1.02 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002277/1.016, allocations: 151.7 kB / 1.021 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/1.017, allocations: 0.7032 MB / 1.021 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.34e-05/1.017, allocations: 11.84 kB / 1.021 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.928e-05/1.017, allocations: 7.438 kB / 1.021 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/1.017, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of Templates: time 0.001921/1.019, allocations: 259.8 kB / 1.021 GB, free: 13.95 MB / 0.6511 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