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.001607/0.001607, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00203/0.00203, allocations: 193.8 kB / 16.25 MB, free: 6.629 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.437/1.437, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.625/2.625, allocations: 437 MB / 0.71 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 67.89 kB / 0.8687 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6961/0.6977, allocations: 151.6 MB / 1.017 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.002097/0.6998, allocations: 0.6702 MB / 1.017 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000906/0.7008, allocations: 0.7885 MB / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.054e-05/0.7008, allocations: 0 / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.413e-05/0.7009, allocations: 0 / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.498e-05/0.7009, allocations: 3.938 kB / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.987e-05/0.701, allocations: 8 kB / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.411e-05/0.7011, allocations: 15.98 kB / 1.018 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.125e-05/0.7011, allocations: 4 kB / 1.018 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.362e-05/0.7012, allocations: 7.938 kB / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.658e-05/0.7012, allocations: 11.92 kB / 1.018 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.7013, allocations: 0 / 1.018 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.077e-05/0.7013, allocations: 4 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.7013, allocations: 0 / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.638e-05/0.7013, allocations: 11.92 kB / 1.018 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.921e-05/0.7014, allocations: 15.97 kB / 1.018 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7014, allocations: 4 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7014, allocations: 3.938 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.7014, allocations: 0 / 1.018 GB, free: 1.152 MB / 0.7637 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.000446/0.7019, allocations: 335.5 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.7019, allocations: 8.031 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.808e-05/0.702, allocations: 4.938 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.7021, allocations: 166.3 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.7021, allocations: 4.359 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.7021, allocations: 384 / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.7023, allocations: 50.23 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.7023, allocations: 192 / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.7023, allocations: 3.938 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.7023, allocations: 0 / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.7025, allocations: 31.91 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001962/0.7027, allocations: 153.7 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.7029, allocations: 38.48 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.703, allocations: 20.91 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.703, allocations: 0 / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.7031, allocations: 30.56 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.644e-06/0.7031, allocations: 0 / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0003418/0.7034, allocations: 85.52 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.7035, allocations: 51.41 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.911e-05/0.7036, allocations: 101.9 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.7036, allocations: 25.7 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.7036, allocations: 80.14 kB / 1.019 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.7037, allocations: 4 kB / 1.019 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/0.7037, allocations: 13.78 kB / 1.019 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.7039, allocations: 318.8 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.418e-05/0.7039, allocations: 11.98 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.359e-05/0.704, allocations: 15.98 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.7042, allocations: 36.81 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7042, allocations: 8 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001645/0.7043, allocations: 53.67 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.7044, allocations: 4 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.7044, allocations: 3.938 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.7044, allocations: 4 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.564e-05/0.7045, allocations: 7.984 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.7045, allocations: 0 / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.652e-05/0.7046, allocations: 11.98 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.7046, allocations: 4.031 kB / 1.02 GB, free: 15.27 MB / 0.7794 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.029e-05/0.7047, allocations: 105.8 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.046e-05/0.7047, allocations: 7.906 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.158e-05/0.7047, allocations: 7.062 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.7047, allocations: 3.938 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.7047, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.7047, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.7048, allocations: 153.7 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.7048, allocations: 0 / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.909e-05/0.7049, allocations: 11.98 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.7049, allocations: 0 / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.7049, allocations: 3.938 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.7049, allocations: 11.88 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.7049, allocations: 4 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.7051, allocations: 81.09 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.819e-05/0.7052, allocations: 81.14 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.7052, allocations: 3.938 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.038e-05/0.7052, allocations: 7.984 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.7053, allocations: 4 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.7053, allocations: 0 / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.395e-05/0.7053, allocations: 87.44 kB / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7054, allocations: 0 / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001738/0.7055, allocations: 4 kB / 1.02 GB, free: 14.61 MB / 0.7794 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.0001263/0.7057, allocations: 103.2 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001885/0.7059, allocations: 35.91 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.7059, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.374e-05/0.7059, allocations: 19.98 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.7062, allocations: 7.922 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002631/0.7065, allocations: 93.75 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.7067, allocations: 0.6768 MB / 1.021 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.558e-05/0.7067, allocations: 3.906 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.379e-05/0.7068, allocations: 7.438 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of SimCode: time 1.9e-07/0.7068, allocations: 0 / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of Templates: time 0.00236/0.7091, allocations: 354.5 kB / 1.022 GB, free: 13.26 MB / 0.7794 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