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.293/2.293, allocations: 390.5 MB / 398 MB, free: 10.93 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.001073/0.001073, allocations: 180.8 kB / 491.2 MB, free: 1.566 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.943/1.943, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.001385/0.001385, allocations: 103.5 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.517e-05/2.526e-05, allocations: 12 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3806, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.135/1.515, allocations: 148.5 MB / 1.357 GB, free: 17.73 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/1.516, allocations: 65.34 kB / 1.357 GB, free: 17.73 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002498/1.518, allocations: 0.7681 MB / 1.358 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.014e-06/1.518, allocations: 4 kB / 1.358 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.231e-05/1.518, allocations: 3.875 kB / 1.358 GB, free: 33.39 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.0002788/1.518, allocations: 331.8 kB / 1.359 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/1.518, allocations: 7.688 kB / 1.359 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/1.519, allocations: 8.328 kB / 1.359 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/1.519, allocations: 182.9 kB / 1.359 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.527e-06/1.519, allocations: 3.844 kB / 1.359 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/1.519, allocations: 0 / 1.359 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001105/1.519, allocations: 40.39 kB / 1.359 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/1.519, allocations: 77.5 kB / 1.359 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/1.519, allocations: 3.062 kB / 1.359 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/1.519, allocations: 0 / 1.359 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/1.519, allocations: 0 / 1.359 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004483/1.52, allocations: 451.9 kB / 1.359 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.5e-05/1.52, allocations: 169.8 kB / 1.359 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.42e-05/1.52, allocations: 80.14 kB / 1.359 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.689e-05/1.52, allocations: 79.94 kB / 1.36 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/1.52, allocations: 109.2 kB / 1.36 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.913e-06/1.52, allocations: 112 / 1.36 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.325e-05/1.52, allocations: 41.95 kB / 1.36 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/1.52, allocations: 52.11 kB / 1.36 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/1.52, allocations: 116.4 kB / 1.36 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.843e-06/1.52, allocations: 25.7 kB / 1.36 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.069e-05/1.52, allocations: 98.7 kB / 1.36 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/1.52, allocations: 0 / 1.36 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/1.52, allocations: 0 / 1.36 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001074/1.52, allocations: 315.2 kB / 1.36 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.714e-05/1.52, allocations: 9.797 kB / 1.36 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.133e-05/1.52, allocations: 9.156 kB / 1.36 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.717e-05/1.52, allocations: 9.828 kB / 1.36 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.52, allocations: 0 / 1.36 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001244/1.52, allocations: 46.66 kB / 1.36 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/1.52, allocations: 3.969 kB / 1.36 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/1.52, allocations: 3.953 kB / 1.36 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/1.52, allocations: 4.359 kB / 1.36 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.834e-05/1.521, allocations: 4.641 kB / 1.36 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/1.521, allocations: 4.406 kB / 1.36 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.975e-05/1.521, allocations: 4.531 kB / 1.36 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/1.521, allocations: 3.75 kB / 1.36 GB, free: 31.27 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 8.284e-05/1.521, allocations: 176.8 kB / 1.361 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.417e-05/1.521, allocations: 105.6 kB / 1.361 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.269e-05/1.521, allocations: 117.8 kB / 1.361 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-05/1.521, allocations: 184.8 kB / 1.361 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.004e-05/1.521, allocations: 180.9 kB / 1.361 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.853e-05/1.521, allocations: 184.9 kB / 1.361 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/1.521, allocations: 398.4 kB / 1.362 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-05/1.521, allocations: 101.6 kB / 1.362 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.896e-05/1.521, allocations: 101.7 kB / 1.362 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.85e-05/1.521, allocations: 185 kB / 1.362 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.992e-05/1.521, allocations: 181.1 kB / 1.362 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.396e-05/1.521, allocations: 185 kB / 1.362 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-05/1.521, allocations: 180.8 kB / 1.363 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/1.522, allocations: 309.6 kB / 1.363 GB, free: 28.63 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.744e-05/1.522, allocations: 189.8 kB / 1.363 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.007e-05/1.522, allocations: 180.9 kB / 1.363 GB, free: 28.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.192e-05/1.522, allocations: 109.5 kB / 1.363 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.686e-05/1.522, allocations: 180.9 kB / 1.364 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.271e-05/1.522, allocations: 101.8 kB / 1.364 GB, free: 27.85 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.564e-05/1.522, allocations: 101.5 kB / 1.364 GB, free: 27.77 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.522, allocations: 0 / 1.364 GB, free: 27.77 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001972/1.522, allocations: 11.72 kB / 1.364 GB, free: 27.76 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.0001593/1.522, allocations: 175.3 kB / 1.364 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.028e-05/1.522, allocations: 9.625 kB / 1.364 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/1.522, allocations: 3.938 kB / 1.364 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/1.522, allocations: 7.75 kB / 1.364 GB, free: 27.59 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/1.523, allocations: 0.5228 MB / 1.364 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002312/1.523, allocations: 154.4 kB / 1.365 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/1.523, allocations: 0.6936 MB / 1.365 GB, free: 26.23 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.384e-05/1.523, allocations: 4.578 kB / 1.365 GB, free: 26.23 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/1.523, allocations: 7.438 kB / 1.365 GB, free: 26.22 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.523, allocations: 4 kB / 1.365 GB, free: 26.22 MB / 0.8386 GB Notification: Performance of Templates: time 0.002067/1.525, allocations: 264.8 kB / 1.365 GB, free: 26.18 MB / 0.8386 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