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.007928/0.007928, allocations: 101.3 kB / 15.73 MB, free: 6.039 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.001575/0.001575, allocations: 200 kB / 16.67 MB, free: 5.977 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.909/2.909, allocations: 461.9 MB / 0.7347 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.89 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3487, allocations: 157.4 MB / 1.208 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001832/0.3506, allocations: 0.613 MB / 1.208 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.3516, allocations: 0.7768 MB / 1.209 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.13e-05/0.3517, allocations: 0 / 1.209 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.782e-05/0.3517, allocations: 0 / 1.209 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.188e-05/0.3518, allocations: 7.938 kB / 1.209 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.756e-05/0.3519, allocations: 4 kB / 1.209 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.056e-05/0.3519, allocations: 19.92 kB / 1.209 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.046e-05/0.352, allocations: 4 kB / 1.209 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.955e-05/0.3521, allocations: 8 kB / 1.209 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.631e-05/0.3521, allocations: 7.922 kB / 1.209 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.3522, allocations: 4 kB / 1.209 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.611e-06/0.3522, allocations: 0 / 1.209 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.834e-05/0.3522, allocations: 7.984 kB / 1.209 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.949e-05/0.3522, allocations: 11.92 kB / 1.209 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 7.676e-05/0.3523, allocations: 7.984 kB / 1.209 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3523, allocations: 0 / 1.209 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3523, allocations: 4 kB / 1.209 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.3523, allocations: 4 kB / 1.209 GB, free: 8.133 MB / 0.9669 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.0005097/0.3528, allocations: 335.5 kB / 1.21 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.3529, allocations: 8.625 kB / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.3529, allocations: 4.938 kB / 1.21 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.3531, allocations: 164.3 kB / 1.21 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.3531, allocations: 8.359 kB / 1.21 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.3531, allocations: 384 / 1.21 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.3533, allocations: 46.19 kB / 1.21 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3533, allocations: 192 / 1.21 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.3533, allocations: 7.938 kB / 1.21 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.3533, allocations: 0 / 1.21 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.3535, allocations: 23.97 kB / 1.21 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.3537, allocations: 161.6 kB / 1.21 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.3538, allocations: 34.59 kB / 1.21 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.527e-05/0.3539, allocations: 20.91 kB / 1.21 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.3539, allocations: 0 / 1.21 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.3539, allocations: 34.5 kB / 1.21 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.3539, allocations: 0 / 1.21 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.000331/0.3543, allocations: 85.67 kB / 1.21 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.3543, allocations: 51.41 kB / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.206e-05/0.3544, allocations: 97.84 kB / 1.21 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.3544, allocations: 29.69 kB / 1.21 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.828e-05/0.3545, allocations: 88.08 kB / 1.21 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.3545, allocations: 7.906 kB / 1.21 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/0.3545, allocations: 9.719 kB / 1.21 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.3547, allocations: 310.8 kB / 1.211 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.971e-05/0.3548, allocations: 20.02 kB / 1.211 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.031e-05/0.3549, allocations: 15.92 kB / 1.211 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.355, allocations: 40.81 kB / 1.211 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.355, allocations: 0 / 1.211 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001792/0.3552, allocations: 61.73 kB / 1.211 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.3552, allocations: 5.562 kB / 1.211 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3552, allocations: 3.938 kB / 1.211 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.3553, allocations: 3.984 kB / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.676e-05/0.3553, allocations: 4 kB / 1.211 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.3554, allocations: 0 / 1.211 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.662e-05/0.3554, allocations: 7.984 kB / 1.211 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.3554, allocations: 0 / 1.211 GB, free: 6.25 MB / 0.9669 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 8.655e-05/0.3555, allocations: 113.9 kB / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.662e-06/0.3555, allocations: 3.938 kB / 1.211 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.014e-05/0.3556, allocations: 7.062 kB / 1.211 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3556, allocations: 0 / 1.211 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3556, allocations: 0 / 1.211 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3556, allocations: 4 kB / 1.211 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.3557, allocations: 153.7 kB / 1.211 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3557, allocations: 0 / 1.211 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.018e-05/0.3558, allocations: 8 kB / 1.211 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.3558, allocations: 4 kB / 1.211 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.3558, allocations: 7.875 kB / 1.211 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.3558, allocations: 3.984 kB / 1.211 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3558, allocations: 4 kB / 1.211 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.356, allocations: 85.02 kB / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.992e-05/0.3561, allocations: 77.11 kB / 1.211 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.3561, allocations: 15.95 kB / 1.211 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.89e-05/0.3561, allocations: 0 / 1.211 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.3562, allocations: 4 kB / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.3562, allocations: 0 / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.621e-05/0.3562, allocations: 87.2 kB / 1.211 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3563, allocations: 0 / 1.211 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001693/0.3564, allocations: 0 / 1.211 GB, free: 5.59 MB / 0.9669 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.0001913/0.3566, allocations: 99.25 kB / 1.211 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002227/0.3569, allocations: 35.95 kB / 1.211 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.3569, allocations: 0 / 1.211 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.108e-05/0.3569, allocations: 19.98 kB / 1.212 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.3572, allocations: 3.938 kB / 1.212 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003123/0.3575, allocations: 101.5 kB / 1.212 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.3578, allocations: 0.6769 MB / 1.212 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.173e-05/0.3579, allocations: 0 / 1.212 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/0.3579, allocations: 11.38 kB / 1.212 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.3579, allocations: 0 / 1.212 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of Templates: time 0.002791/0.3607, allocations: 414.7 kB / 1.213 GB, free: 4.18 MB / 0.9669 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