Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00152/0.00152, allocations: 109.7 kB / 15.99 MB, free: 5.891 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.001467/0.001467, allocations: 194.9 kB / 16.91 MB, free: 5.746 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.35/1.35, allocations: 222.9 MB / 240.6 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.726/2.726, allocations: 469.8 MB / 0.7427 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 76.39 kB / 0.9087 GB, free: 34.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2711, allocations: 159.2 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001869/0.273, allocations: 0.6634 MB / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009171/0.274, allocations: 0.7902 MB / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.596e-05/0.274, allocations: 0 / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.353e-05/0.274, allocations: 0 / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.816e-05/0.2741, allocations: 0 / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.804e-05/0.2741, allocations: 4 kB / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.438e-05/0.2742, allocations: 19.92 kB / 1.066 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.402e-05/0.2743, allocations: 4 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.308e-05/0.2743, allocations: 8 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.548e-05/0.2744, allocations: 15.91 kB / 1.066 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.2744, allocations: 0 / 1.066 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.841e-06/0.2744, allocations: 4 kB / 1.066 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/0.2744, allocations: 8 kB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.375e-05/0.2744, allocations: 3.938 kB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 5.304e-05/0.2745, allocations: 19.97 kB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2745, allocations: 0 / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2745, allocations: 0 / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2745, allocations: 0 / 1.066 GB, free: 13 MB / 0.8262 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.000434/0.275, allocations: 323.6 kB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.275, allocations: 8.031 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.702e-05/0.275, allocations: 12.84 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.2752, allocations: 168.6 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.2752, allocations: 384 / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.2752, allocations: 4.312 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.2754, allocations: 42.23 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2754, allocations: 192 / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.2754, allocations: 3.938 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.2754, allocations: 0 / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.2756, allocations: 35.97 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001694/0.2757, allocations: 149.7 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.2758, allocations: 34.58 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.534e-05/0.2759, allocations: 24.84 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-06/0.2759, allocations: 3.938 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.276, allocations: 34.56 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.276, allocations: 0 / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0003024/0.2763, allocations: 77.58 kB / 1.067 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.2763, allocations: 51.41 kB / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.825e-05/0.2764, allocations: 97.86 kB / 1.067 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.2764, allocations: 29.83 kB / 1.067 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.804e-05/0.2765, allocations: 84.14 kB / 1.067 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.2765, allocations: 3.906 kB / 1.067 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.2766, allocations: 17.7 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.2767, allocations: 314.8 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.497e-05/0.2768, allocations: 19.92 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.48e-05/0.2768, allocations: 19.98 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.277, allocations: 40.88 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.277, allocations: 0 / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001693/0.2772, allocations: 53.67 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.2772, allocations: 4 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2772, allocations: 3.938 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.2772, allocations: 0 / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.637e-05/0.2773, allocations: 12.02 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.2773, allocations: 4 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.462e-05/0.2774, allocations: 7.922 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.2774, allocations: 4 kB / 1.067 GB, free: 11.11 MB / 0.8262 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.364e-05/0.2775, allocations: 109.8 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.753e-06/0.2775, allocations: 0 / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.702e-05/0.2775, allocations: 7.062 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.2775, allocations: 4.188 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2775, allocations: 4 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.2775, allocations: 3.984 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.2776, allocations: 149.7 kB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2777, allocations: 4 kB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.182e-05/0.2777, allocations: 7.984 kB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2777, allocations: 0 / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.2777, allocations: 3.938 kB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2777, allocations: 0 / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2777, allocations: 0 / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.2779, allocations: 85.09 kB / 1.068 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/0.278, allocations: 81.11 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.278, allocations: 3.938 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.619e-05/0.2781, allocations: 7.984 kB / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.2781, allocations: 7.938 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.2781, allocations: 0 / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.849e-05/0.2782, allocations: 91.23 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2782, allocations: 0 / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001743/0.2783, allocations: 4 kB / 1.068 GB, free: 10.46 MB / 0.8262 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.0001367/0.2785, allocations: 95.25 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001937/0.2787, allocations: 31.97 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2787, allocations: 3.938 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.243e-05/0.2788, allocations: 20.05 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.279, allocations: 9.703 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002607/0.2793, allocations: 127.2 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.2796, allocations: 0.6768 MB / 1.069 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.286e-05/0.2796, allocations: 7.438 kB / 1.069 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.2796, allocations: 0 / 1.069 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of Templates: time 0.001808/0.2814, allocations: 0.4993 MB / 1.069 GB, free: 8.93 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches