Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.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.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.486/1.486, allocations: 251.9 MB / 266.9 MB, free: 10.98 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.001047/0.001047, allocations: 182.3 kB / 326.5 MB, free: 2.227 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.71/1.71, allocations: 205.4 MB / 0.5775 GB, free: 20.52 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.000826/0.000826, allocations: 97.16 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003336/0.0003337, allocations: 8.594 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2166, allocations: 106.3 MB / 0.9001 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1677/0.3843, allocations: 131.2 MB / 1.028 GB, free: 13 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.3846, allocations: 71.89 kB / 1.028 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00127/0.3859, allocations: 0.5358 MB / 1.029 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.515e-06/0.3859, allocations: 8.062 kB / 1.029 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.3859, allocations: 0 / 1.029 GB, free: 12.39 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003239/0.3862, allocations: 331.5 kB / 1.029 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.3863, allocations: 12.03 kB / 1.029 GB, free: 12 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.966e-05/0.3863, allocations: 0 / 1.029 GB, free: 12 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.3864, allocations: 175 kB / 1.029 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.3865, allocations: 0 / 1.029 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-06/0.3865, allocations: 8 kB / 1.029 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.3866, allocations: 41.69 kB / 1.029 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.3866, allocations: 0 / 1.029 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.3867, allocations: 0 / 1.029 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.3867, allocations: 3.984 kB / 1.029 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.3868, allocations: 51.89 kB / 1.029 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001737/0.387, allocations: 157.7 kB / 1.03 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.3871, allocations: 30.56 kB / 1.03 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.3871, allocations: 4 kB / 1.03 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.3872, allocations: 30.56 kB / 1.03 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.3872, allocations: 0 / 1.03 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0003096/0.3875, allocations: 101.7 kB / 1.03 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.3875, allocations: 51.41 kB / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.77e-05/0.3876, allocations: 89 kB / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.3876, allocations: 25.7 kB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.631e-05/0.3877, allocations: 84.14 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.3877, allocations: 7.906 kB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/0.3877, allocations: 0 / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.3878, allocations: 318.9 kB / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.488e-05/0.3879, allocations: 15.98 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.537e-05/0.388, allocations: 19.98 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.611e-05/0.3881, allocations: 24.05 kB / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3881, allocations: 0 / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001697/0.3882, allocations: 77.55 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.3883, allocations: 4 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3883, allocations: 4.031 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.3883, allocations: 4 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.465e-05/0.3884, allocations: 7.984 kB / 1.03 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-06/0.3884, allocations: 4 kB / 1.03 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.412e-05/0.3885, allocations: 4 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.3885, allocations: 0 / 1.03 GB, free: 10.52 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 (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.03e-05/0.3885, allocations: 117.8 kB / 1.031 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-06/0.3886, allocations: 7.953 kB / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.928e-05/0.3886, allocations: 7.062 kB / 1.031 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.3886, allocations: 3.938 kB / 1.031 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3886, allocations: 0 / 1.031 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.3886, allocations: 0 / 1.031 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.65e-05/0.3887, allocations: 153.7 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.3887, allocations: 0 / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.578e-05/0.3888, allocations: 11.98 kB / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3888, allocations: 3.953 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.3888, allocations: 4 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3888, allocations: 0 / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3888, allocations: 0 / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.389, allocations: 104.9 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-05/0.3891, allocations: 77.11 kB / 1.031 GB, free: 9.945 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.3891, allocations: 7.953 kB / 1.031 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.436e-05/0.3891, allocations: 11.98 kB / 1.031 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.3892, allocations: 0 / 1.031 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.3892, allocations: 0 / 1.031 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.55e-05/0.3892, allocations: 83.28 kB / 1.031 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3892, allocations: 0 / 1.031 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001589/0.3894, allocations: 4 kB / 1.031 GB, free: 9.84 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 (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 Backend phase and start with SimCode phase: time 0.0001425/0.3895, allocations: 103.3 kB / 1.031 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001895/0.3897, allocations: 39.97 kB / 1.031 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3897, allocations: 64 / 1.031 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.678e-05/0.3898, allocations: 27.92 kB / 1.031 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.39, allocations: 7.188 kB / 1.031 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002642/0.3903, allocations: 96.7 kB / 1.031 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.3905, allocations: 0.6848 MB / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.695e-05/0.3906, allocations: 4.062 kB / 1.032 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.349e-05/0.3906, allocations: 7.438 kB / 1.032 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of SimCode: time 4.01e-07/0.3906, allocations: 0 / 1.032 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of Templates: time 0.002053/0.3927, allocations: 324.6 kB / 1.032 GB, free: 8.504 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches