Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.156/2.156, allocations: 390.3 MB / 402.8 MB, free: 6.672 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009651/0.0009654, allocations: 176.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.632/1.632, allocations: 221.3 MB / 0.7915 GB, free: 5.473 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009502/0.0009505, allocations: 91.94 kB / 0.9317 GB, free: 5.797 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.752e-05/3.755e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3463, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.185/1.531, allocations: 149.4 MB / 1.365 GB, free: 4.672 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/1.532, allocations: 65.92 kB / 1.365 GB, free: 4.637 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001305/1.533, allocations: 0.5244 MB / 1.365 GB, free: 4.141 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.883e-06/1.533, allocations: 0 / 1.365 GB, free: 4.141 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.072e-05/1.533, allocations: 0 / 1.365 GB, free: 4.141 MB / 0.823 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.0004283/1.533, allocations: 333.6 kB / 1.366 GB, free: 3.773 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.065e-05/1.533, allocations: 8.031 kB / 1.366 GB, free: 3.766 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/1.533, allocations: 4 kB / 1.366 GB, free: 3.762 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/1.534, allocations: 171 kB / 1.366 GB, free: 3.555 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/1.534, allocations: 3.938 kB / 1.366 GB, free: 3.551 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/1.534, allocations: 3.938 kB / 1.366 GB, free: 3.547 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/1.534, allocations: 37.58 kB / 1.366 GB, free: 3.508 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/1.534, allocations: 0 / 1.366 GB, free: 3.508 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/1.534, allocations: 0 / 1.366 GB, free: 3.508 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/1.534, allocations: 0 / 1.366 GB, free: 3.508 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.597e-05/1.534, allocations: 4 kB / 1.366 GB, free: 3.504 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001808/1.534, allocations: 160.8 kB / 1.366 GB, free: 3.301 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.723e-05/1.534, allocations: 25.2 kB / 1.366 GB, free: 3.273 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.167e-05/1.534, allocations: 8.797 kB / 1.366 GB, free: 3.262 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/1.534, allocations: 4 kB / 1.366 GB, free: 3.258 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/1.534, allocations: 37.62 kB / 1.366 GB, free: 3.215 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/1.534, allocations: 0 / 1.366 GB, free: 3.215 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001193/1.534, allocations: 33.27 kB / 1.366 GB, free: 3.18 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/1.534, allocations: 51.41 kB / 1.366 GB, free: 3.117 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.064e-05/1.534, allocations: 93 kB / 1.366 GB, free: 3.02 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/1.534, allocations: 26.58 kB / 1.366 GB, free: 2.988 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/1.535, allocations: 91.41 kB / 1.366 GB, free: 2.898 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/1.535, allocations: 3.906 kB / 1.366 GB, free: 2.895 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/1.535, allocations: 0 / 1.366 GB, free: 2.895 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001289/1.535, allocations: 314.8 kB / 1.367 GB, free: 2.578 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.634e-05/1.535, allocations: 7.5 kB / 1.367 GB, free: 2.574 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.987e-06/1.535, allocations: 3.938 kB / 1.367 GB, free: 2.57 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.63e-05/1.535, allocations: 4 kB / 1.367 GB, free: 2.566 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/1.535, allocations: 1.969 kB / 1.367 GB, free: 2.566 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.057e-05/1.535, allocations: 41.27 kB / 1.367 GB, free: 2.523 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/1.535, allocations: 5.562 kB / 1.367 GB, free: 2.52 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/1.535, allocations: 3.984 kB / 1.367 GB, free: 2.516 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/1.535, allocations: 0 / 1.367 GB, free: 2.516 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/1.535, allocations: 8 kB / 1.367 GB, free: 2.508 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/1.535, allocations: 0 / 1.367 GB, free: 2.508 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.269e-05/1.535, allocations: 11.98 kB / 1.367 GB, free: 2.496 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/1.535, allocations: 0 / 1.367 GB, free: 2.496 MB / 0.823 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 7.411e-05/1.535, allocations: 109 kB / 1.367 GB, free: 2.383 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.106e-05/1.535, allocations: 7.312 kB / 1.367 GB, free: 2.379 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/1.535, allocations: 3.125 kB / 1.367 GB, free: 2.379 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/1.535, allocations: 0 / 1.367 GB, free: 2.379 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.535, allocations: 0 / 1.367 GB, free: 2.379 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/1.535, allocations: 3.938 kB / 1.367 GB, free: 2.379 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/1.535, allocations: 161.1 kB / 1.367 GB, free: 2.176 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/1.535, allocations: 3.938 kB / 1.367 GB, free: 2.172 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.828e-05/1.535, allocations: 12 kB / 1.367 GB, free: 2.16 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/1.536, allocations: 7.875 kB / 1.367 GB, free: 2.152 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/1.536, allocations: 0 / 1.367 GB, free: 2.152 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/1.536, allocations: 0 / 1.367 GB, free: 2.152 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.536, allocations: 3.984 kB / 1.367 GB, free: 2.148 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.603e-05/1.536, allocations: 60.61 kB / 1.367 GB, free: 2.074 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.021e-05/1.536, allocations: 81.06 kB / 1.367 GB, free: 1.977 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/1.536, allocations: 4 kB / 1.367 GB, free: 1.973 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.161e-05/1.536, allocations: 12.02 kB / 1.367 GB, free: 1.961 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/1.536, allocations: 192 / 1.367 GB, free: 1.961 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/1.536, allocations: 0 / 1.367 GB, free: 1.961 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.518e-05/1.536, allocations: 86.7 kB / 1.367 GB, free: 1.879 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.4e-07/1.536, allocations: 0 / 1.367 GB, free: 1.879 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001759/1.536, allocations: 4 kB / 1.367 GB, free: 1.875 MB / 0.823 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 (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.0001612/1.536, allocations: 99.23 kB / 1.367 GB, free: 1.766 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 7.314e-05/1.536, allocations: 18.69 kB / 1.367 GB, free: 1.75 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/1.536, allocations: 0 / 1.367 GB, free: 1.75 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.038e-05/1.536, allocations: 7.375 kB / 1.367 GB, free: 1.746 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/1.536, allocations: 0.5156 kB / 1.367 GB, free: 1.746 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002139/1.537, allocations: 52.98 kB / 1.367 GB, free: 1.672 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/1.537, allocations: 0.677 MB / 1.368 GB, free: 0.9688 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.648e-05/1.537, allocations: 4.125 kB / 1.368 GB, free: 0.9648 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.491e-05/1.537, allocations: 7.438 kB / 1.368 GB, free: 0.957 MB / 0.823 GB Notification: Performance of SimCode: time 4.81e-07/1.537, allocations: 0 / 1.368 GB, free: 0.957 MB / 0.823 GB Notification: Performance of Templates: time 0.002344/1.539, allocations: 345.5 kB / 1.368 GB, free: 0.6367 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches