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.01119/0.01119, allocations: 96.31 kB / 15.73 MB, free: 6.043 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.002277/0.002277, allocations: 195.2 kB / 16.67 MB, free: 5.969 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.474/1.474, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.846/2.846, allocations: 437 MB / 0.7105 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 67.89 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3578, allocations: 151.6 MB / 1.167 GB, free: 6.777 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001669/0.3596, allocations: 0.6021 MB / 1.167 GB, free: 6.176 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008097/0.3604, allocations: 0.7849 MB / 1.168 GB, free: 5.379 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.116e-05/0.3604, allocations: 0 / 1.168 GB, free: 5.379 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.967e-05/0.3605, allocations: 3.938 kB / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.345e-05/0.3605, allocations: 0 / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.861e-05/0.3606, allocations: 4 kB / 1.168 GB, free: 5.371 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.988e-05/0.3607, allocations: 31.8 kB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.347e-05/0.3607, allocations: 4 kB / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.948e-05/0.3608, allocations: 11.98 kB / 1.168 GB, free: 5.324 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.925e-05/0.3609, allocations: 0 / 1.168 GB, free: 5.324 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.3609, allocations: 4 kB / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.244e-06/0.3609, allocations: 0 / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/0.3609, allocations: 11.92 kB / 1.168 GB, free: 5.309 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/0.361, allocations: 4 kB / 1.168 GB, free: 5.305 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.379e-05/0.3611, allocations: 19.91 kB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3611, allocations: 0 / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3611, allocations: 4 kB / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.3611, allocations: 0 / 1.168 GB, free: 5.281 MB / 0.92 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.0005027/0.3616, allocations: 339.5 kB / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.3616, allocations: 8.031 kB / 1.168 GB, free: 4.891 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.087e-05/0.3617, allocations: 4.875 kB / 1.168 GB, free: 4.887 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.3619, allocations: 172.3 kB / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.3619, allocations: 384 / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.3619, allocations: 384 / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.3621, allocations: 46.23 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.3621, allocations: 192 / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.3621, allocations: 3.938 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.3621, allocations: 0 / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.3623, allocations: 35.95 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000177/0.3625, allocations: 149.7 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.3626, allocations: 42.53 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.11e-05/0.3627, allocations: 16.91 kB / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.3627, allocations: 0 / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.3627, allocations: 30.56 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 6.71e-07/0.3627, allocations: 0 / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0003405/0.3631, allocations: 85.58 kB / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.3631, allocations: 55.34 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.753e-05/0.3632, allocations: 97.84 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.3632, allocations: 25.7 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.143e-05/0.3633, allocations: 88.14 kB / 1.169 GB, free: 3.902 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.3633, allocations: 3.938 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/0.3634, allocations: 9.719 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3635, allocations: 315 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.605e-05/0.3636, allocations: 15.98 kB / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.503e-05/0.3637, allocations: 19.97 kB / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.3638, allocations: 32.83 kB / 1.17 GB, free: 3.496 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3638, allocations: 0 / 1.17 GB, free: 3.496 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001877/0.364, allocations: 69.67 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.364, allocations: 15.81 kB / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.364, allocations: 3.938 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3641, allocations: 0 / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.948e-05/0.3642, allocations: 4 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.3642, allocations: 4 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.201e-05/0.3642, allocations: 3.984 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.3642, allocations: 4 kB / 1.17 GB, free: 3.387 MB / 0.92 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.528e-05/0.3643, allocations: 109.9 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.152e-06/0.3643, allocations: 0 / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.219e-05/0.3644, allocations: 11.05 kB / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-06/0.3644, allocations: 4 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.3644, allocations: 4 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3644, allocations: 0 / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.3645, allocations: 149.7 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3645, allocations: 4 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.568e-05/0.3646, allocations: 7.984 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.3646, allocations: 4 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.3646, allocations: 3.938 kB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3646, allocations: 0 / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3646, allocations: 0 / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001999/0.3648, allocations: 89.03 kB / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.3649, allocations: 81.11 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.3649, allocations: 7.969 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.988e-05/0.3649, allocations: 4 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.365, allocations: 3.984 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.365, allocations: 0 / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.926e-05/0.365, allocations: 79.47 kB / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.11e-07/0.365, allocations: 0 / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001706/0.3652, allocations: 4 kB / 1.17 GB, free: 2.734 MB / 0.92 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.0001552/0.3654, allocations: 99.25 kB / 1.17 GB, free: 2.625 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002089/0.3656, allocations: 35.95 kB / 1.17 GB, free: 2.59 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3656, allocations: 0 / 1.17 GB, free: 2.59 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.634e-05/0.3657, allocations: 15.98 kB / 1.17 GB, free: 2.574 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.3659, allocations: 7.938 kB / 1.17 GB, free: 2.566 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002931/0.3662, allocations: 97.58 kB / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.3665, allocations: 0.6768 MB / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.543e-05/0.3665, allocations: 3.984 kB / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.184e-05/0.3665, allocations: 7.438 kB / 1.171 GB, free: 1.73 MB / 0.92 GB Notification: Performance of SimCode: time 2e-07/0.3665, allocations: 0 / 1.171 GB, free: 1.73 MB / 0.92 GB Notification: Performance of Templates: time 0.00228/0.3688, allocations: 412.6 kB / 1.172 GB, free: 1.332 MB / 0.92 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