Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001209/0.001209, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 193.9 kB / 16.14 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.408/1.408, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.817/2.817, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001336, allocations: 69.53 kB / 0.8984 GB, free: 37.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3384, allocations: 157.4 MB / 1.052 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001969/0.3404, allocations: 0.6625 MB / 1.053 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007907/0.3412, allocations: 0.7845 MB / 1.054 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.592e-05/0.3413, allocations: 0 / 1.054 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.194e-05/0.3413, allocations: 0 / 1.054 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.766e-05/0.3414, allocations: 3.938 kB / 1.054 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.252e-05/0.3414, allocations: 11.94 kB / 1.054 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.776e-05/0.3415, allocations: 15.94 kB / 1.054 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.184e-05/0.3416, allocations: 7.984 kB / 1.054 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.755e-05/0.3417, allocations: 4 kB / 1.054 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.74e-05/0.3417, allocations: 11.92 kB / 1.054 GB, free: 7.336 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.3417, allocations: 0 / 1.054 GB, free: 7.336 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.733e-06/0.3417, allocations: 0 / 1.054 GB, free: 7.336 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.3417, allocations: 4 kB / 1.054 GB, free: 7.332 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.691e-05/0.3418, allocations: 7.938 kB / 1.054 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.507e-05/0.3419, allocations: 15.95 kB / 1.054 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3419, allocations: 0 / 1.054 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3419, allocations: 4 kB / 1.054 GB, free: 7.305 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.3419, allocations: 0 / 1.054 GB, free: 7.305 MB / 0.8106 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.0004389/0.3423, allocations: 335.5 kB / 1.054 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.3424, allocations: 8.031 kB / 1.054 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/0.3424, allocations: 0.9375 kB / 1.054 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.3425, allocations: 172.5 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-06/0.3426, allocations: 384 / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.3426, allocations: 384 / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.3428, allocations: 54.23 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.3428, allocations: 4.125 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.3428, allocations: 3.938 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3428, allocations: 4 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.3429, allocations: 27.97 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001529/0.3431, allocations: 149.6 kB / 1.054 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.3432, allocations: 42.58 kB / 1.054 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.615e-05/0.3433, allocations: 20.89 kB / 1.054 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.3433, allocations: 0 / 1.054 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.3434, allocations: 34.56 kB / 1.054 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.3434, allocations: 0 / 1.054 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0003275/0.3437, allocations: 81.53 kB / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.3438, allocations: 51.41 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.463e-05/0.3438, allocations: 101.8 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.3439, allocations: 25.7 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.758e-05/0.3439, allocations: 84.14 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.3439, allocations: 0 / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.838e-05/0.344, allocations: 9.719 kB / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3441, allocations: 323 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.718e-05/0.3442, allocations: 15.98 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.705e-05/0.3442, allocations: 11.98 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.3444, allocations: 36.77 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3444, allocations: 0 / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001681/0.3446, allocations: 73.56 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3446, allocations: 4 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3446, allocations: 3.938 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3446, allocations: 0 / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.849e-05/0.3447, allocations: 11.98 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3447, allocations: 4 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.219e-05/0.3448, allocations: 4 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.3448, allocations: 4.031 kB / 1.055 GB, free: 5.41 MB / 0.8106 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.328e-05/0.3449, allocations: 111.4 kB / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.053e-06/0.3449, allocations: 0 / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.218e-05/0.3449, allocations: 15.06 kB / 1.055 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.3449, allocations: 0 / 1.055 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3449, allocations: 0 / 1.055 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3449, allocations: 0 / 1.055 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.356e-05/0.345, allocations: 149.7 kB / 1.056 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.345, allocations: 0 / 1.056 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.343e-05/0.3451, allocations: 15.92 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3451, allocations: 0 / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.3451, allocations: 11.88 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3451, allocations: 0 / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3451, allocations: 0 / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.3453, allocations: 81.09 kB / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-05/0.3454, allocations: 85.14 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.3454, allocations: 3.938 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.211e-05/0.3454, allocations: 7.984 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.3455, allocations: 0 / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.3455, allocations: 0 / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.708e-05/0.3455, allocations: 83.28 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3455, allocations: 0 / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001741/0.3457, allocations: 4 kB / 1.056 GB, free: 4.762 MB / 0.8106 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.000142/0.3458, allocations: 103.2 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001903/0.346, allocations: 35.91 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3461, allocations: 0 / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.493e-05/0.3461, allocations: 11.98 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.3464, allocations: 4 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002776/0.3467, allocations: 103.3 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.3469, allocations: 0.6731 MB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.727e-05/0.3469, allocations: 4 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.441e-05/0.347, allocations: 11.38 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of SimCode: time 4.81e-07/0.347, allocations: 0 / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of Templates: time 0.002322/0.3493, allocations: 350.8 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches