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.Sin.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.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.505/1.505, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001549/0.00155, allocations: 179.7 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.889/1.889, allocations: 205.4 MB / 0.5775 GB, free: 20.58 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.0008543/0.0008544, allocations: 86.36 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003147/0.0003146, allocations: 11.84 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2, allocations: 106.3 MB / 0.9001 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1648/0.3649, allocations: 131.4 MB / 1.028 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001959/0.3651, allocations: 75.95 kB / 1.029 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001613/0.3667, allocations: 0.6687 MB / 1.029 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3667, allocations: 0 / 1.029 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.3668, allocations: 0 / 1.029 GB, free: 12.09 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003333/0.3671, allocations: 339.3 kB / 1.03 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.3671, allocations: 12.03 kB / 1.03 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.3672, allocations: 7.922 kB / 1.03 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.3673, allocations: 175 kB / 1.03 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.3673, allocations: 0 / 1.03 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.3673, allocations: 4 kB / 1.03 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.3675, allocations: 61.61 kB / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.3675, allocations: 0 / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.3675, allocations: 0 / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.3675, allocations: 0 / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.3677, allocations: 47.89 kB / 1.03 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002913/0.368, allocations: 252.8 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.3681, allocations: 42.55 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.3681, allocations: 4.062 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.3682, allocations: 34.56 kB / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3682, allocations: 0 / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003371/0.3685, allocations: 97.7 kB / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.3686, allocations: 55.41 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.213e-05/0.3686, allocations: 89 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.3687, allocations: 29.7 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.665e-05/0.3687, allocations: 84.14 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.485e-05/0.3687, allocations: 7.891 kB / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-06/0.3687, allocations: 0 / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.3688, allocations: 314.8 kB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.31e-05/0.3689, allocations: 27.98 kB / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.85e-05/0.369, allocations: 15.98 kB / 1.031 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.634e-05/0.3691, allocations: 23.98 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3691, allocations: 8.047 kB / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001817/0.3693, allocations: 73.61 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.3693, allocations: 4 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.3693, allocations: 4 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.3693, allocations: 0 / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.593e-05/0.3694, allocations: 16.02 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.3694, allocations: 0 / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.079e-05/0.3695, allocations: 7.984 kB / 1.031 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-06/0.3695, allocations: 4 kB / 1.031 GB, free: 10.08 MB / 0.6823 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 (2): * Single equations (assignments): 2 * 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.604e-05/0.3696, allocations: 113.8 kB / 1.031 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.3696, allocations: 0 / 1.031 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002175/0.3698, allocations: 84.72 kB / 1.031 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3698, allocations: 0 / 1.031 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.3699, allocations: 0 / 1.031 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3699, allocations: 4 kB / 1.031 GB, free: 9.863 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.37, allocations: 173.5 kB / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.37, allocations: 32 / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.19e-05/0.3701, allocations: 19.92 kB / 1.031 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3701, allocations: 0 / 1.031 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-06/0.3701, allocations: 0 / 1.031 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3701, allocations: 0 / 1.031 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3701, allocations: 0 / 1.031 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.3703, allocations: 179.7 kB / 1.032 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.001e-05/0.3704, allocations: 77.11 kB / 1.032 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.3704, allocations: 3.984 kB / 1.032 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.851e-05/0.3705, allocations: 15.92 kB / 1.032 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.3705, allocations: 0 / 1.032 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.3705, allocations: 8.031 kB / 1.032 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.988e-05/0.3706, allocations: 79.28 kB / 1.032 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.3706, allocations: 0 / 1.032 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001939/0.3708, allocations: 4 kB / 1.032 GB, free: 9.23 MB / 0.6823 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 (2): * Single equations (assignments): 2 * 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.0001167/0.3709, allocations: 99.23 kB / 1.032 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001906/0.3711, allocations: 47.97 kB / 1.032 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3711, allocations: 0 / 1.032 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.367e-05/0.3712, allocations: 23.98 kB / 1.032 GB, free: 9.055 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.3714, allocations: 13.31 kB / 1.032 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002247/0.3716, allocations: 112.7 kB / 1.032 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.3718, allocations: 0.6809 MB / 1.033 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.015e-05/0.3719, allocations: 0 / 1.033 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.181e-05/0.3719, allocations: 11.42 kB / 1.033 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of SimCode: time 2.604e-06/0.3719, allocations: 0 / 1.033 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of Templates: time 0.001831/0.3737, allocations: 357.7 kB / 1.033 GB, free: 7.844 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Sin.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches