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.484/1.484, allocations: 249.3 MB / 261.8 MB, free: 5.801 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.0009777/0.0009778, allocations: 188.5 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.001038/0.001038, allocations: 96.34 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.473e-05/3.498e-05, allocations: 8 kB / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2063, allocations: 106.3 MB / 0.8918 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7107/0.917, allocations: 130.9 MB / 1.02 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/0.9173, allocations: 69.58 kB / 1.02 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001754/0.919, allocations: 0.7807 MB / 1.02 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.954e-06/0.9191, allocations: 0 / 1.02 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.437e-06/0.9191, allocations: 0 / 1.02 GB, free: 3.031 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.0003011/0.9194, allocations: 337.8 kB / 1.021 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.9194, allocations: 15.97 kB / 1.021 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/0.9195, allocations: 7.906 kB / 1.021 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.9197, allocations: 185.1 kB / 1.021 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.9197, allocations: 3.938 kB / 1.021 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.9198, allocations: 4 kB / 1.021 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.9199, allocations: 71.92 kB / 1.021 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.9199, allocations: 0 / 1.021 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.9199, allocations: 0 / 1.021 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.9199, allocations: 0 / 1.021 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.708e-05/0.92, allocations: 48.03 kB / 1.021 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004757/0.9205, allocations: 493.6 kB / 1.022 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.236e-05/0.9206, allocations: 172.6 kB / 1.022 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.705e-05/0.9206, allocations: 86.73 kB / 1.022 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.9207, allocations: 79.23 kB / 1.022 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.855e-05/0.9207, allocations: 105.8 kB / 1.022 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.9207, allocations: 0 / 1.022 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 7.153e-05/0.9208, allocations: 37.55 kB / 1.022 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.9209, allocations: 130.7 kB / 1.022 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.921, allocations: 160.4 kB / 1.022 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.921, allocations: 29.7 kB / 1.022 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.9211, allocations: 96.84 kB / 1.022 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/0.9211, allocations: 0 / 1.022 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-06/0.9211, allocations: 4 kB / 1.022 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.9212, allocations: 318.4 kB / 1.023 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.39e-05/0.9213, allocations: 4 kB / 1.023 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.35e-05/0.9213, allocations: 11.05 kB / 1.023 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.28e-05/0.9213, allocations: 8.062 kB / 1.023 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.9213, allocations: 4 kB / 1.023 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001017/0.9214, allocations: 48.67 kB / 1.023 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.132e-05/0.9215, allocations: 11.89 kB / 1.023 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.9215, allocations: 0 / 1.023 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.9215, allocations: 4 kB / 1.023 GB, free: 500 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.154e-05/0.9216, allocations: 0 / 1.023 GB, free: 500 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.9216, allocations: 0 / 1.023 GB, free: 500 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.47e-05/0.9216, allocations: 7.906 kB / 1.023 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.9216, allocations: 4 kB / 1.023 GB, free: 488 kB / 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.657e-05/0.9217, allocations: 183.4 kB / 1.023 GB, free: 300 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.37e-05/0.9218, allocations: 115.1 kB / 1.023 GB, free: 180 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.368e-05/0.9218, allocations: 120.5 kB / 1.023 GB, free: 52 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.512e-05/0.9219, allocations: 179.9 kB / 1.023 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.788e-05/0.922, allocations: 176.3 kB / 1.024 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.536e-05/0.9221, allocations: 188.2 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.9223, allocations: 419.8 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.912e-05/0.9224, allocations: 105 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.44e-05/0.9224, allocations: 105.3 kB / 1.024 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-05/0.9225, allocations: 176.3 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-05/0.9225, allocations: 195.6 kB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.246e-05/0.9226, allocations: 188.2 kB / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.244e-05/0.9227, allocations: 180.2 kB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.9228, allocations: 303 kB / 1.025 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.9229, allocations: 193.9 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.856e-05/0.923, allocations: 183.3 kB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.818e-05/0.9231, allocations: 104.9 kB / 1.026 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.203e-05/0.9232, allocations: 184.2 kB / 1.026 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.789e-05/0.9233, allocations: 105.8 kB / 1.026 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.979e-05/0.9234, allocations: 136.6 kB / 1.026 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9234, allocations: 0 / 1.026 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002196/0.9236, allocations: 4 kB / 1.026 GB, free: 12.83 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.0001545/0.9238, allocations: 182.5 kB / 1.026 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 5.982e-05/0.9238, allocations: 7.828 kB / 1.026 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.9238, allocations: 0 / 1.026 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.9239, allocations: 0 / 1.026 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.9242, allocations: 0.5301 MB / 1.027 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002146/0.9244, allocations: 162.8 kB / 1.027 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.9246, allocations: 0.6965 MB / 1.028 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.315e-05/0.9247, allocations: 8 kB / 1.028 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.064e-05/0.9247, allocations: 7.438 kB / 1.028 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of SimCode: time 2.81e-07/0.9247, allocations: 0 / 1.028 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of Templates: time 0.002117/0.9268, allocations: 447.5 kB / 1.028 GB, free: 10.76 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