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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.007559/0.007559, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001852/0.001851, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.401/1.401, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.763/2.763, allocations: 461.8 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 67.75 kB / 0.8991 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3405, allocations: 157.4 MB / 1.053 GB, free: 8.246 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.002059/0.3426, allocations: 0.6609 MB / 1.053 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009021/0.3435, allocations: 0.7884 MB / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.018e-05/0.3436, allocations: 0 / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.893e-05/0.3436, allocations: 0 / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.262e-05/0.3437, allocations: 3.984 kB / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.841e-05/0.3437, allocations: 4 kB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.813e-05/0.3438, allocations: 23.92 kB / 1.054 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.219e-05/0.3439, allocations: 8 kB / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.038e-05/0.3439, allocations: 3.938 kB / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.705e-05/0.344, allocations: 11.98 kB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.344, allocations: 0 / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.364e-06/0.344, allocations: 0 / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.3441, allocations: 4 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.669e-05/0.3441, allocations: 3.938 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.146e-05/0.3442, allocations: 15.97 kB / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3442, allocations: 0 / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.41e-07/0.3442, allocations: 4 kB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.3442, allocations: 0 / 1.054 GB, free: 6.703 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.0004458/0.3446, allocations: 331.5 kB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.819e-05/0.3447, allocations: 11.97 kB / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.845e-05/0.3447, allocations: 4.875 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.3449, allocations: 180.5 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.3449, allocations: 384 / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.3449, allocations: 384 / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.345, allocations: 46.23 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.3451, allocations: 192 / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.3451, allocations: 7.922 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3451, allocations: 0 / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.3453, allocations: 31.97 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001489/0.3454, allocations: 149.7 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.3455, allocations: 38.53 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.617e-05/0.3456, allocations: 24.89 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.3457, allocations: 0 / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.3457, allocations: 34.5 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.3457, allocations: 0 / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0003233/0.346, allocations: 77.59 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.3461, allocations: 55.39 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.071e-05/0.3462, allocations: 97.86 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.3462, allocations: 25.7 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.766e-05/0.3462, allocations: 88.08 kB / 1.055 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.3462, allocations: 0 / 1.055 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.3463, allocations: 13.72 kB / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.3464, allocations: 319 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.171e-05/0.3465, allocations: 11.98 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.075e-05/0.3466, allocations: 19.98 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.3467, allocations: 28.83 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3467, allocations: 0 / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001845/0.3469, allocations: 69.62 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.347, allocations: 4 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.347, allocations: 3.938 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.347, allocations: 0 / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.999e-05/0.3471, allocations: 11.92 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3471, allocations: 0 / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.434e-05/0.3472, allocations: 8 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.3472, allocations: 7.984 kB / 1.056 GB, free: 4.809 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.803e-05/0.3473, allocations: 113.9 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.907e-06/0.3473, allocations: 0 / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.966e-05/0.3473, allocations: 7.062 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.3473, allocations: 4 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3473, allocations: 0 / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3473, allocations: 0 / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.3474, allocations: 149.7 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3475, allocations: 7.938 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.578e-05/0.3475, allocations: 7.984 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.3475, allocations: 4 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.3475, allocations: 3.938 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3475, allocations: 0 / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3476, allocations: 0 / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.3478, allocations: 81.09 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.09e-05/0.3478, allocations: 88.98 kB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.3478, allocations: 7.969 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.33e-05/0.3479, allocations: 7.984 kB / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.3479, allocations: 0 / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.3479, allocations: 0 / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.265e-05/0.348, allocations: 83.28 kB / 1.056 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.348, allocations: 0 / 1.056 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001817/0.3482, allocations: 7.984 kB / 1.056 GB, free: 4.152 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.0001695/0.3483, allocations: 99.25 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001982/0.3485, allocations: 31.97 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3486, allocations: 0 / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.195e-05/0.3486, allocations: 11.98 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.3489, allocations: 11.98 kB / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003037/0.3492, allocations: 129 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.3495, allocations: 0.6731 MB / 1.057 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.44e-05/0.3496, allocations: 7.438 kB / 1.057 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of SimCode: time 5.11e-07/0.3496, allocations: 4 kB / 1.057 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of Templates: time 0.001943/0.3515, allocations: 0.4889 MB / 1.058 GB, free: 2.633 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/jenkins1/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