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.538/1.538, allocations: 249.3 MB / 261.8 MB, free: 5.863 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.001171/0.001171, allocations: 180.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.0008257/0.0008258, allocations: 88.39 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.555e-05/3.557e-05, allocations: 8 kB / 0.788 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2052, allocations: 106.3 MB / 0.8918 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.698/0.9032, allocations: 131.2 MB / 1.02 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.9036, allocations: 71.95 kB / 1.02 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001426/0.905, allocations: 0.5426 MB / 1.02 GB, free: 3 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.923e-06/0.905, allocations: 0 / 1.02 GB, free: 3 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.905, allocations: 0 / 1.02 GB, free: 3 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003572/0.9054, allocations: 326.5 kB / 1.021 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/0.9055, allocations: 8.031 kB / 1.021 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/0.9055, allocations: 0 / 1.021 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.9057, allocations: 179 kB / 1.021 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.9057, allocations: 7.172 kB / 1.021 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.9057, allocations: 0 / 1.021 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.9058, allocations: 32.89 kB / 1.021 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.9058, allocations: 0 / 1.021 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.9058, allocations: 0 / 1.021 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.9058, allocations: 0 / 1.021 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.331e-05/0.9059, allocations: 11.5 kB / 1.021 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/0.9061, allocations: 156.8 kB / 1.021 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.577e-05/0.9061, allocations: 22.58 kB / 1.021 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.306e-05/0.9062, allocations: 8.234 kB / 1.021 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.9062, allocations: 0 / 1.021 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.9062, allocations: 38.56 kB / 1.021 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.9062, allocations: 0 / 1.021 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001199/0.9063, allocations: 41.38 kB / 1.021 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.9064, allocations: 54.14 kB / 1.021 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.596e-05/0.9065, allocations: 93.03 kB / 1.021 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.9065, allocations: 25.7 kB / 1.021 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.554e-05/0.9065, allocations: 87.52 kB / 1.022 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.9066, allocations: 7.891 kB / 1.022 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.9066, allocations: 0 / 1.022 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.9067, allocations: 310.8 kB / 1.022 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.523e-05/0.9067, allocations: 7.312 kB / 1.022 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.031e-05/0.9067, allocations: 3.984 kB / 1.022 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.543e-05/0.9067, allocations: 8.062 kB / 1.022 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.9067, allocations: 3.953 kB / 1.022 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.666e-05/0.9068, allocations: 40.95 kB / 1.022 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.9068, allocations: 6.188 kB / 1.022 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.9069, allocations: 0 / 1.022 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.9069, allocations: 0 / 1.022 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.581e-05/0.907, allocations: 11.98 kB / 1.022 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.907, allocations: 0 / 1.022 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.676e-05/0.907, allocations: 12.03 kB / 1.022 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.907, allocations: 0 / 1.022 GB, free: 1.352 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 (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 6.005e-05/0.9071, allocations: 105 kB / 1.022 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.028e-05/0.9071, allocations: 7.891 kB / 1.022 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.605e-05/0.9072, allocations: 11.08 kB / 1.022 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-06/0.9072, allocations: 0 / 1.022 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.9072, allocations: 0 / 1.022 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.9072, allocations: 0 / 1.022 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.9073, allocations: 161.5 kB / 1.022 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.9073, allocations: 0 / 1.022 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.387e-05/0.9074, allocations: 11.94 kB / 1.022 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.9074, allocations: 4 kB / 1.022 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.9074, allocations: 0 / 1.022 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.9074, allocations: 0 / 1.022 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.9074, allocations: 0.875 kB / 1.022 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.417e-05/0.9075, allocations: 68.62 kB / 1.022 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.74e-05/0.9076, allocations: 81.02 kB / 1.022 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.9076, allocations: 3.953 kB / 1.022 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.945e-05/0.9076, allocations: 8 kB / 1.022 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.9077, allocations: 4.172 kB / 1.022 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.9077, allocations: 0 / 1.022 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.722e-05/0.9077, allocations: 86.95 kB / 1.022 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9077, allocations: 3.938 kB / 1.022 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001871/0.9079, allocations: 8.031 kB / 1.022 GB, free: 0.7188 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 (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.0001325/0.9081, allocations: 95.25 kB / 1.023 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.065e-05/0.9081, allocations: 11.88 kB / 1.023 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.9081, allocations: 0 / 1.023 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.069e-05/0.9082, allocations: 4 kB / 1.023 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.9083, allocations: 7.922 kB / 1.023 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001765/0.9085, allocations: 59.28 kB / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.9088, allocations: 0.677 MB / 1.023 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.68e-05/0.9088, allocations: 0 / 1.023 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.222e-05/0.9088, allocations: 7.438 kB / 1.023 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of SimCode: time 4.61e-07/0.9088, allocations: 3.938 kB / 1.023 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of Templates: time 0.00211/0.9109, allocations: 346.7 kB / 1.024 GB, free: 15.48 MB / 0.6511 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