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.Add.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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.405/1.405, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001148/0.001148, allocations: 185.7 kB / 326.5 MB, free: 2.238 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.687/1.687, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0008594/0.0008591, allocations: 98.17 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003408/0.0003408, allocations: 9.219 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1987, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1596/0.3584, allocations: 131.4 MB / 1.028 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.3587, allocations: 71.95 kB / 1.028 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002462/0.3611, allocations: 0.8605 MB / 1.029 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of FrontEnd: time 6.051e-06/0.3612, allocations: 0 / 1.029 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.3612, allocations: 3.938 kB / 1.029 GB, free: 11.44 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005204/0.3617, allocations: 387.1 kB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.3618, allocations: 8.031 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.042e-05/0.3618, allocations: 4 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.362, allocations: 170.9 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.362, allocations: 11.94 kB / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.362, allocations: 0 / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.3623, allocations: 81.64 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.3623, allocations: 0 / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.3623, allocations: 0 / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3623, allocations: 0 / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002878/0.3626, allocations: 91.86 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005399/0.3632, allocations: 304.9 kB / 1.03 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.3634, allocations: 74.52 kB / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.3634, allocations: 0 / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.3634, allocations: 30.56 kB / 1.03 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.3634, allocations: 0 / 1.03 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.000549/0.364, allocations: 173.5 kB / 1.031 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.364, allocations: 55.39 kB / 1.031 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.059e-05/0.3641, allocations: 101.2 kB / 1.031 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.3642, allocations: 29.69 kB / 1.031 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.498e-05/0.3642, allocations: 88.08 kB / 1.031 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/0.3642, allocations: 7.906 kB / 1.031 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.3643, allocations: 8 kB / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.3644, allocations: 318.8 kB / 1.031 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.3645, allocations: 39.97 kB / 1.031 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.3647, allocations: 43.97 kB / 1.031 GB, free: 9.242 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.3648, allocations: 43.95 kB / 1.031 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3648, allocations: 0 / 1.031 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003148/0.3651, allocations: 129.5 kB / 1.031 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3652, allocations: 8 kB / 1.031 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3652, allocations: 0 / 1.031 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.3652, allocations: 0 / 1.031 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.3653, allocations: 19.98 kB / 1.031 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.3654, allocations: 4.359 kB / 1.031 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.362e-05/0.3654, allocations: 19.98 kB / 1.031 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.3655, allocations: 0 / 1.031 GB, free: 9.016 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 (3): * Single equations (assignments): 3 * 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.0001029/0.3656, allocations: 113.8 kB / 1.032 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.3656, allocations: 3.938 kB / 1.032 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.977e-05/0.3656, allocations: 7.906 kB / 1.032 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3656, allocations: 7.938 kB / 1.032 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3656, allocations: 0 / 1.032 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3657, allocations: 4 kB / 1.032 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.3658, allocations: 177.5 kB / 1.032 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3659, allocations: 0 / 1.032 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.366, allocations: 19.98 kB / 1.032 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.366, allocations: 3.938 kB / 1.032 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.366, allocations: 4 kB / 1.032 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.366, allocations: 0 / 1.032 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.366, allocations: 3.984 kB / 1.032 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003637/0.3664, allocations: 223.4 kB / 1.032 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.28e-05/0.3664, allocations: 81.02 kB / 1.032 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.3664, allocations: 0 / 1.032 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.3666, allocations: 19.98 kB / 1.032 GB, free: 8.262 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.3666, allocations: 7.984 kB / 1.032 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.3666, allocations: 0 / 1.032 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.057e-05/0.3667, allocations: 95.27 kB / 1.032 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3667, allocations: 0 / 1.032 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001937/0.3669, allocations: 4 kB / 1.032 GB, free: 8.156 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 (3): * Single equations (assignments): 3 * 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.0001598/0.367, allocations: 103.2 kB / 1.032 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003309/0.3674, allocations: 92.3 kB / 1.032 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3674, allocations: 0 / 1.032 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.3676, allocations: 52.05 kB / 1.032 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.3678, allocations: 7.953 kB / 1.032 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003311/0.3681, allocations: 136.7 kB / 1.033 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.3684, allocations: 0.6965 MB / 1.033 GB, free: 7.012 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.783e-05/0.3685, allocations: 7.859 kB / 1.033 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.296e-05/0.3685, allocations: 7.719 kB / 1.033 GB, free: 6.996 MB / 0.6823 GB Notification: Performance of SimCode: time 3.91e-07/0.3685, allocations: 3.938 kB / 1.033 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of Templates: time 0.00235/0.3709, allocations: 0.5365 MB / 1.034 GB, free: 6.465 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Add.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches