Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.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.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_9_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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.411/2.411, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001094/0.001094, allocations: 177.8 kB / 498.1 MB, free: 5.762 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.661/1.661, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.001159/0.001159, allocations: 92.39 kB / 0.9346 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003856, allocations: 16.22 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.301, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2478/0.5488, allocations: 148.5 MB / 1.368 GB, free: 13.67 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.5491, allocations: 67.95 kB / 1.368 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001862/0.551, allocations: 0.7712 MB / 1.369 GB, free: 12.83 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.305e-06/0.551, allocations: 0 / 1.369 GB, free: 12.83 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.439e-05/0.5511, allocations: 0 / 1.369 GB, free: 12.83 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.0003918/0.5515, allocations: 343.2 kB / 1.369 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.5515, allocations: 8.031 kB / 1.369 GB, free: 12.44 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.5516, allocations: 15.91 kB / 1.369 GB, free: 12.42 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.5518, allocations: 190.9 kB / 1.369 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.5518, allocations: 0 / 1.369 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.5518, allocations: 8 kB / 1.369 GB, free: 12.19 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.552, allocations: 81.53 kB / 1.369 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.552, allocations: 0 / 1.369 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.552, allocations: 0 / 1.369 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.5521, allocations: 0 / 1.369 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.055e-05/0.5521, allocations: 43.97 kB / 1.369 GB, free: 12.06 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005108/0.5526, allocations: 489.9 kB / 1.37 GB, free: 11.53 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.627e-05/0.5527, allocations: 169.1 kB / 1.37 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.5528, allocations: 83.28 kB / 1.37 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.633e-05/0.5528, allocations: 113.8 kB / 1.37 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.5529, allocations: 0 / 1.37 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 8.061e-05/0.5529, allocations: 37.59 kB / 1.37 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.282e-05/0.553, allocations: 126.7 kB / 1.37 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.5532, allocations: 153.9 kB / 1.37 GB, free: 10.81 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.5532, allocations: 25.7 kB / 1.37 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.953e-05/0.5533, allocations: 99.98 kB / 1.371 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-06/0.5533, allocations: 4 kB / 1.371 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-06/0.5533, allocations: 4 kB / 1.371 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.5534, allocations: 318.8 kB / 1.371 GB, free: 10.35 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.617e-05/0.5534, allocations: 8 kB / 1.371 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.426e-05/0.5535, allocations: 7.984 kB / 1.371 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.726e-05/0.5535, allocations: 4 kB / 1.371 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5535, allocations: 0 / 1.371 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001279/0.5536, allocations: 61.52 kB / 1.371 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.5537, allocations: 12.05 kB / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.5537, allocations: 0 / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.5537, allocations: 0 / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.466e-05/0.5538, allocations: 4 kB / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.5538, allocations: 112 / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.46e-05/0.5538, allocations: 7.938 kB / 1.371 GB, free: 10.24 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.5538, allocations: 4 kB / 1.371 GB, free: 10.24 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 0.0001129/0.5539, allocations: 193.1 kB / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.148e-05/0.554, allocations: 120.8 kB / 1.371 GB, free: 9.914 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.861e-05/0.5541, allocations: 124.6 kB / 1.371 GB, free: 9.785 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.396e-05/0.5541, allocations: 176.3 kB / 1.372 GB, free: 9.605 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.738e-05/0.5542, allocations: 180.2 kB / 1.372 GB, free: 9.422 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.897e-05/0.5543, allocations: 180.3 kB / 1.372 GB, free: 9.238 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.5545, allocations: 429.1 kB / 1.372 GB, free: 8.762 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.242e-05/0.5546, allocations: 105 kB / 1.372 GB, free: 8.652 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.785e-05/0.5546, allocations: 101.6 kB / 1.373 GB, free: 8.547 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.668e-05/0.5547, allocations: 180.2 kB / 1.373 GB, free: 8.363 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-05/0.5548, allocations: 184.3 kB / 1.373 GB, free: 8.176 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.005e-05/0.5548, allocations: 188.2 kB / 1.373 GB, free: 7.984 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.28e-05/0.5549, allocations: 184.2 kB / 1.373 GB, free: 7.797 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.5551, allocations: 303.8 kB / 1.374 GB, free: 7.477 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.282e-05/0.5552, allocations: 194 kB / 1.374 GB, free: 7.262 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.578e-05/0.5552, allocations: 180.2 kB / 1.374 GB, free: 7.078 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.088e-05/0.5553, allocations: 105 kB / 1.374 GB, free: 6.969 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.353e-05/0.5554, allocations: 188.2 kB / 1.374 GB, free: 6.777 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.619e-05/0.5554, allocations: 104.9 kB / 1.374 GB, free: 6.668 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 9.532e-05/0.5555, allocations: 132.6 kB / 1.374 GB, free: 6.539 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5556, allocations: 0 / 1.374 GB, free: 6.539 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002164/0.5558, allocations: 4 kB / 1.374 GB, free: 6.535 MB / 0.8698 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.0001622/0.5559, allocations: 178.3 kB / 1.375 GB, free: 6.348 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 5.788e-05/0.556, allocations: 15.98 kB / 1.375 GB, free: 6.332 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.556, allocations: 4 kB / 1.375 GB, free: 6.328 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.234e-06/0.556, allocations: 0.8281 kB / 1.375 GB, free: 6.328 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.5564, allocations: 0.524 MB / 1.375 GB, free: 5.801 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000276/0.5566, allocations: 222 kB / 1.375 GB, free: 5.555 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.5569, allocations: 0.6948 MB / 1.376 GB, free: 4.836 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.086e-05/0.5569, allocations: 4 kB / 1.376 GB, free: 4.832 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.557, allocations: 15.42 kB / 1.376 GB, free: 4.816 MB / 0.8698 GB Notification: Performance of SimCode: time 2.2e-07/0.557, allocations: 0 / 1.376 GB, free: 4.816 MB / 0.8698 GB Notification: Performance of Templates: time 0.002178/0.5592, allocations: 432.1 kB / 1.376 GB, free: 4.395 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches