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.5/1.5, allocations: 249.5 MB / 257 MB, free: 6.848 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.001121/0.00112, allocations: 171.7 kB / 316.3 MB, free: 3.23 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.46/1.46, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.001009/0.001009, allocations: 98.81 kB / 0.6714 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.021e-05/2.015e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2246, allocations: 106.3 MB / 0.8852 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8429/1.068, allocations: 131.6 MB / 1.014 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/1.068, allocations: 68.33 kB / 1.014 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002639/1.071, allocations: 0.8716 MB / 1.015 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.274e-06/1.071, allocations: 0 / 1.015 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.894e-06/1.071, allocations: 0 / 1.015 GB, free: 5.336 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004413/1.071, allocations: 361.8 kB / 1.015 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/1.071, allocations: 8.031 kB / 1.015 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/1.071, allocations: 7.906 kB / 1.015 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/1.071, allocations: 171 kB / 1.015 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/1.071, allocations: 4 kB / 1.015 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/1.071, allocations: 4 kB / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.641e-05/1.072, allocations: 18.75 kB / 1.015 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.11e-05/1.072, allocations: 44.31 kB / 1.015 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/1.072, allocations: 0 / 1.015 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/1.072, allocations: 0 / 1.015 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/1.072, allocations: 4 kB / 1.015 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000528/1.072, allocations: 290.6 kB / 1.016 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.734e-05/1.072, allocations: 29.02 kB / 1.016 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.954e-05/1.072, allocations: 15.48 kB / 1.016 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/1.072, allocations: 3.938 kB / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/1.072, allocations: 41.77 kB / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/1.072, allocations: 0 / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001684/1.073, allocations: 47.14 kB / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/1.073, allocations: 54.14 kB / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.583e-05/1.073, allocations: 103.2 kB / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/1.073, allocations: 25.7 kB / 1.016 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.718e-05/1.073, allocations: 87.64 kB / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/1.073, allocations: 12.12 kB / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/1.073, allocations: 4 kB / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001253/1.073, allocations: 326.3 kB / 1.016 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.345e-05/1.073, allocations: 7.5 kB / 1.016 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.982e-05/1.073, allocations: 11.5 kB / 1.016 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.125e-05/1.073, allocations: 11.56 kB / 1.016 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/1.073, allocations: 0 / 1.016 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.082e-05/1.073, allocations: 53.19 kB / 1.016 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/1.073, allocations: 4 kB / 1.016 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/1.073, allocations: 3.984 kB / 1.016 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/1.073, allocations: 0 / 1.016 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/1.073, allocations: 23.98 kB / 1.016 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/1.073, allocations: 0 / 1.016 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.835e-05/1.073, allocations: 19.97 kB / 1.016 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.587e-06/1.073, allocations: 0 / 1.016 GB, free: 3.457 MB / 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 (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 7.391e-05/1.074, allocations: 112.9 kB / 1.016 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/1.074, allocations: 3.906 kB / 1.016 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.97e-05/1.074, allocations: 11.97 kB / 1.016 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-06/1.074, allocations: 0 / 1.016 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/1.074, allocations: 0 / 1.016 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/1.074, allocations: 3.938 kB / 1.017 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/1.074, allocations: 153.4 kB / 1.017 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/1.074, allocations: 0 / 1.017 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/1.074, allocations: 27.92 kB / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/1.074, allocations: 0 / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/1.074, allocations: 0 / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/1.074, allocations: 0 / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.074, allocations: 0 / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/1.074, allocations: 142.9 kB / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.167e-05/1.074, allocations: 84.97 kB / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/1.074, allocations: 4.875 kB / 1.017 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/1.074, allocations: 19.97 kB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/1.074, allocations: 4 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/1.074, allocations: 3.688 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.279e-05/1.074, allocations: 86.97 kB / 1.017 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/1.074, allocations: 0 / 1.017 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001958/1.075, allocations: 8 kB / 1.017 GB, free: 2.742 MB / 0.6355 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 (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.0001645/1.075, allocations: 106.3 kB / 1.017 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.217e-05/1.075, allocations: 23.19 kB / 1.017 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/1.075, allocations: 4 kB / 1.017 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.964e-05/1.075, allocations: 15.69 kB / 1.017 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/1.075, allocations: 0 / 1.017 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002491/1.075, allocations: 75.23 kB / 1.017 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/1.076, allocations: 0.6924 MB / 1.018 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.777e-05/1.076, allocations: 3.859 kB / 1.018 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/1.076, allocations: 7.438 kB / 1.018 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of SimCode: time 1.864e-06/1.076, allocations: 0 / 1.018 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of Templates: time 0.002554/1.078, allocations: 0.5035 MB / 1.018 GB, free: 1.297 MB / 0.6355 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