Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.479/2.479, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001719/0.001719, allocations: 178.7 kB / 0.4902 GB, free: 2.297 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.529/1.529, allocations: 223.1 MB / 0.7992 GB, free: 14.78 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.0008918/0.0008918, allocations: 100.3 kB / 0.9396 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003475/0.0003475, allocations: 17.41 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3345, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1981/0.5326, allocations: 149.3 MB / 1.375 GB, free: 4.371 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/0.533, allocations: 71.95 kB / 1.375 GB, free: 4.301 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002161/0.5352, allocations: 0.7708 MB / 1.376 GB, free: 3.527 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.046e-06/0.5352, allocations: 0 / 1.376 GB, free: 3.527 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.472e-05/0.5352, allocations: 3.938 kB / 1.376 GB, free: 3.523 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.00041/0.5357, allocations: 343.2 kB / 1.376 GB, free: 3.141 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.5357, allocations: 8.031 kB / 1.376 GB, free: 3.133 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.645e-05/0.5358, allocations: 7.906 kB / 1.376 GB, free: 3.125 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.536, allocations: 183 kB / 1.376 GB, free: 2.906 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.536, allocations: 4 kB / 1.376 GB, free: 2.902 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.5361, allocations: 4 kB / 1.376 GB, free: 2.898 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.5363, allocations: 73.66 kB / 1.376 GB, free: 2.82 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.5363, allocations: 0 / 1.376 GB, free: 2.82 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.5363, allocations: 4 kB / 1.376 GB, free: 2.816 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.5363, allocations: 0 / 1.376 GB, free: 2.816 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.128e-05/0.5364, allocations: 43.97 kB / 1.376 GB, free: 2.773 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006249/0.537, allocations: 492 kB / 1.377 GB, free: 2.242 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.5372, allocations: 177 kB / 1.377 GB, free: 2.059 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.5372, allocations: 75.28 kB / 1.377 GB, free: 1.984 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.286e-05/0.5373, allocations: 117.8 kB / 1.377 GB, free: 1.859 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.573e-06/0.5373, allocations: 0 / 1.377 GB, free: 1.859 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 9.08e-05/0.5374, allocations: 29.61 kB / 1.377 GB, free: 1.824 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.586e-05/0.5375, allocations: 130.7 kB / 1.377 GB, free: 1.684 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.5377, allocations: 162.2 kB / 1.378 GB, free: 1.516 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.5377, allocations: 29.64 kB / 1.378 GB, free: 1.48 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.065e-05/0.5378, allocations: 92.14 kB / 1.378 GB, free: 1.387 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.697e-06/0.5378, allocations: 0 / 1.378 GB, free: 1.387 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.5378, allocations: 4 kB / 1.378 GB, free: 1.383 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.5379, allocations: 318.8 kB / 1.378 GB, free: 1.062 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.863e-05/0.538, allocations: 8 kB / 1.378 GB, free: 1.055 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.603e-05/0.538, allocations: 7.984 kB / 1.378 GB, free: 1.047 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.183e-05/0.538, allocations: 8 kB / 1.378 GB, free: 1.039 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.538, allocations: 0 / 1.378 GB, free: 1.039 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001588/0.5382, allocations: 57.58 kB / 1.378 GB, free: 0.9766 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.5382, allocations: 7.953 kB / 1.378 GB, free: 0.9688 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.5382, allocations: 4.094 kB / 1.378 GB, free: 0.9648 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.5382, allocations: 0 / 1.378 GB, free: 0.9648 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.2e-05/0.5383, allocations: 4 kB / 1.378 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.5383, allocations: 0 / 1.378 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.274e-05/0.5384, allocations: 15.84 kB / 1.378 GB, free: 0.9453 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.5384, allocations: 4 kB / 1.378 GB, free: 0.9414 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.0001263/0.5385, allocations: 193.6 kB / 1.378 GB, free: 0.7422 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.078e-05/0.5386, allocations: 110.5 kB / 1.378 GB, free: 0.6289 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.006e-05/0.5387, allocations: 124.6 kB / 1.379 GB, free: 0.5039 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-05/0.5388, allocations: 180.2 kB / 1.379 GB, free: 328 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.064e-05/0.5389, allocations: 176.3 kB / 1.379 GB, free: 144 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001047/0.539, allocations: 180.3 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000289/0.5393, allocations: 429.1 kB / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-05/0.5393, allocations: 109 kB / 1.38 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.191e-05/0.5394, allocations: 104.9 kB / 1.38 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-05/0.5395, allocations: 180.3 kB / 1.38 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.487e-05/0.5396, allocations: 184.2 kB / 1.38 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-05/0.5396, allocations: 180.2 kB / 1.38 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.907e-05/0.5397, allocations: 180.2 kB / 1.38 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.5399, allocations: 315.7 kB / 1.381 GB, free: 14.19 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.5401, allocations: 193.9 kB / 1.381 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.827e-05/0.5402, allocations: 176.3 kB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.607e-05/0.5403, allocations: 101 kB / 1.381 GB, free: 13.69 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.115e-05/0.5404, allocations: 196.2 kB / 1.381 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.728e-05/0.5404, allocations: 101 kB / 1.381 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001092/0.5405, allocations: 129.6 kB / 1.382 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5406, allocations: 0 / 1.382 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002446/0.5408, allocations: 4 kB / 1.382 GB, free: 13.25 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.0002067/0.541, allocations: 182.5 kB / 1.382 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.087e-05/0.5411, allocations: 7.938 kB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.5411, allocations: 4.062 kB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.775e-06/0.5411, allocations: 4.281 kB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.5415, allocations: 0.5224 MB / 1.382 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.5418, allocations: 214 kB / 1.382 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.5422, allocations: 0.6965 MB / 1.383 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.005e-05/0.5422, allocations: 11.97 kB / 1.383 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.972e-05/0.5422, allocations: 11.44 kB / 1.383 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of SimCode: time 2.3e-07/0.5423, allocations: 3.938 kB / 1.383 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of Templates: time 0.002499/0.5448, allocations: 438.8 kB / 1.384 GB, free: 11.11 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches