Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 193.1 kB / 16.53 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.58/2.58, allocations: 437 MB / 0.7103 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 63.91 kB / 0.8692 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7652/0.7666, allocations: 151.6 MB / 1.017 GB, free: 2.539 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.002061/0.7688, allocations: 0.6033 MB / 1.018 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000959/0.7697, allocations: 0.7845 MB / 1.019 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.624e-05/0.7698, allocations: 4 kB / 1.019 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.14e-05/0.7698, allocations: 0 / 1.019 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.928e-05/0.7699, allocations: 3.938 kB / 1.019 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.085e-05/0.77, allocations: 4 kB / 1.019 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.363e-05/0.77, allocations: 19.98 kB / 1.019 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.998e-05/0.7701, allocations: 0 / 1.019 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.643e-05/0.7702, allocations: 8 kB / 1.019 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.153e-05/0.7702, allocations: 7.922 kB / 1.019 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.7702, allocations: 4 kB / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.074e-06/0.7703, allocations: 3.938 kB / 1.019 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.7703, allocations: 4 kB / 1.019 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.71e-05/0.7703, allocations: 11.92 kB / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.909e-05/0.7704, allocations: 15.97 kB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.7704, allocations: 0 / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.674e-06/0.7704, allocations: 0 / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.7704, allocations: 4 kB / 1.019 GB, free: 1.051 MB / 0.7637 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.0004874/0.7709, allocations: 335.5 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.771, allocations: 8.031 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.771, allocations: 0.9375 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.7711, allocations: 170.3 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.7712, allocations: 384 / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.344e-06/0.7712, allocations: 384 / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.7714, allocations: 54.17 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.7714, allocations: 192 / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.7714, allocations: 3.938 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.7714, allocations: 0 / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.7715, allocations: 27.91 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.7717, allocations: 153.7 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.7719, allocations: 38.58 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.59e-05/0.7719, allocations: 24.84 kB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/0.772, allocations: 0 / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.772, allocations: 30.56 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.772, allocations: 0 / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0003538/0.7724, allocations: 89.52 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.7724, allocations: 51.41 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.588e-05/0.7725, allocations: 97.84 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.7725, allocations: 25.7 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.859e-05/0.7726, allocations: 84.14 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.7726, allocations: 7.984 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.7726, allocations: 9.719 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.7728, allocations: 315 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.089e-05/0.7729, allocations: 15.98 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.423e-05/0.7729, allocations: 15.98 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.7731, allocations: 36.81 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.7731, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001755/0.7733, allocations: 65.67 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.7733, allocations: 4 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.7733, allocations: 3.938 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.7733, allocations: 0 / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.524e-05/0.7734, allocations: 7.984 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.7734, allocations: 0 / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.404e-05/0.7735, allocations: 11.98 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-06/0.7735, allocations: 4 kB / 1.02 GB, free: 15.17 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.496e-05/0.7736, allocations: 109.9 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-06/0.7736, allocations: 3.906 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.122e-05/0.7736, allocations: 7.062 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.7736, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.7736, allocations: 4 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.7736, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.7737, allocations: 149.7 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.7737, allocations: 3.984 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.715e-05/0.7738, allocations: 8 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.7738, allocations: 4 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.7738, allocations: 3.938 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.7738, allocations: 3.938 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.7738, allocations: 3.938 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000191/0.774, allocations: 89.03 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.243e-05/0.7741, allocations: 77.11 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.7741, allocations: 11.97 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.12e-05/0.7741, allocations: 7.984 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.7742, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-06/0.7742, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.853e-05/0.7742, allocations: 83.27 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7742, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001782/0.7744, allocations: 4 kB / 1.021 GB, free: 14.51 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001291/0.7746, allocations: 95.25 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002147/0.7748, allocations: 35.97 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.7748, allocations: 3.938 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.81e-05/0.7749, allocations: 19.97 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.7751, allocations: 9.312 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002646/0.7754, allocations: 97.77 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.7756, allocations: 0.6729 MB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.292e-05/0.7757, allocations: 3.906 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.217e-05/0.7757, allocations: 11.44 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.7757, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of Templates: time 0.002504/0.7782, allocations: 408.9 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches