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.215/2.215, allocations: 387.1 MB / 399.7 MB, free: 9.457 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.001021/0.001021, allocations: 176.9 kB / 492.3 MB, free: 0.6133 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.608/1.608, allocations: 221.3 MB / 0.7872 GB, free: 12.87 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.0008441/0.0008443, allocations: 83.91 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.097e-05/5.101e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2731, allocations: 142.3 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8654/1.139, allocations: 148.4 MB / 1.357 GB, free: 19.12 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001833/1.139, allocations: 68.42 kB / 1.357 GB, free: 19.12 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001955/1.141, allocations: 0.7728 MB / 1.358 GB, free: 34.79 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.492e-06/1.141, allocations: 0.5938 kB / 1.358 GB, free: 34.79 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.534e-06/1.141, allocations: 0 / 1.358 GB, free: 34.79 MB / 0.8386 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.0002029/1.141, allocations: 343.1 kB / 1.358 GB, free: 34.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/1.141, allocations: 7.656 kB / 1.358 GB, free: 34.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.751e-05/1.141, allocations: 8.609 kB / 1.358 GB, free: 34.43 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/1.141, allocations: 186.2 kB / 1.359 GB, free: 34.22 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.228e-06/1.141, allocations: 3.438 kB / 1.359 GB, free: 34.22 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/1.141, allocations: 3.906 kB / 1.359 GB, free: 34.22 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/1.141, allocations: 72.83 kB / 1.359 GB, free: 34.19 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/1.141, allocations: 0 / 1.359 GB, free: 34.19 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/1.141, allocations: 3.375 kB / 1.359 GB, free: 34.19 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/1.141, allocations: 7.781 kB / 1.359 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.685e-05/1.141, allocations: 39.81 kB / 1.359 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/1.142, allocations: 493.8 kB / 1.359 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.476e-05/1.142, allocations: 176.4 kB / 1.359 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.732e-05/1.142, allocations: 80.14 kB / 1.36 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/1.142, allocations: 79.89 kB / 1.36 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/1.142, allocations: 106.4 kB / 1.36 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/1.142, allocations: 0 / 1.36 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 5.83e-05/1.142, allocations: 30.47 kB / 1.36 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/1.142, allocations: 130.7 kB / 1.36 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/1.142, allocations: 166.5 kB / 1.36 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.951e-06/1.142, allocations: 31.3 kB / 1.36 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.916e-05/1.142, allocations: 99.73 kB / 1.36 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/1.142, allocations: 0 / 1.36 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/1.142, allocations: 0 / 1.36 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.846e-05/1.142, allocations: 316.3 kB / 1.36 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.55e-05/1.142, allocations: 9.375 kB / 1.36 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.065e-05/1.142, allocations: 10.33 kB / 1.36 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.204e-05/1.142, allocations: 9.359 kB / 1.36 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/1.142, allocations: 0 / 1.36 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.53e-05/1.143, allocations: 53.34 kB / 1.361 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/1.143, allocations: 7.828 kB / 1.361 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/1.143, allocations: 2.438 kB / 1.361 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/1.143, allocations: 3.844 kB / 1.361 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.419e-05/1.143, allocations: 1.359 kB / 1.361 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/1.143, allocations: 0 / 1.361 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.398e-05/1.143, allocations: 7.938 kB / 1.361 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/1.143, allocations: 5.297 kB / 1.361 GB, free: 32.55 MB / 0.8386 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 6.039e-05/1.143, allocations: 180.2 kB / 1.361 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.436e-05/1.143, allocations: 112 kB / 1.361 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.671e-05/1.143, allocations: 119 kB / 1.361 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-05/1.143, allocations: 180.2 kB / 1.361 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.902e-05/1.143, allocations: 181.4 kB / 1.361 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.31e-05/1.143, allocations: 187.4 kB / 1.361 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/1.143, allocations: 415.9 kB / 1.362 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.622e-05/1.143, allocations: 102.6 kB / 1.362 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.036e-05/1.143, allocations: 105.3 kB / 1.362 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.691e-05/1.143, allocations: 185.5 kB / 1.362 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.86e-05/1.143, allocations: 186.8 kB / 1.362 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.647e-05/1.143, allocations: 181.7 kB / 1.363 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.823e-05/1.143, allocations: 176.3 kB / 1.363 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.823e-05/1.144, allocations: 313.6 kB / 1.363 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.768e-05/1.144, allocations: 191.4 kB / 1.363 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.807e-05/1.144, allocations: 187.7 kB / 1.363 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.396e-05/1.144, allocations: 101 kB / 1.364 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/1.144, allocations: 185.6 kB / 1.364 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/1.144, allocations: 101 kB / 1.364 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.83e-05/1.144, allocations: 136.3 kB / 1.364 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.144, allocations: 7.938 kB / 1.364 GB, free: 29 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001934/1.144, allocations: 7.688 kB / 1.364 GB, free: 29 MB / 0.8386 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.0001017/1.144, allocations: 177.1 kB / 1.364 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.115e-05/1.144, allocations: 17.97 kB / 1.364 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/1.144, allocations: 0 / 1.364 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/1.144, allocations: 3.938 kB / 1.364 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/1.145, allocations: 0.5271 MB / 1.365 GB, free: 28.31 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001717/1.145, allocations: 161.4 kB / 1.365 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/1.145, allocations: 0.6936 MB / 1.365 GB, free: 27.47 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.083e-05/1.145, allocations: 5.031 kB / 1.365 GB, free: 27.47 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.924e-05/1.145, allocations: 11.19 kB / 1.365 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.145, allocations: 0 / 1.365 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of Templates: time 0.001985/1.147, allocations: 453.9 kB / 1.366 GB, free: 27.4 MB / 0.8386 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