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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.517/2.517, allocations: 461.9 MB / 0.7346 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 64.55 kB / 0.8992 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2745, allocations: 157.4 MB / 1.053 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001754/0.2763, allocations: 0.5995 MB / 1.054 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007424/0.2771, allocations: 0.7923 MB / 1.054 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.433e-05/0.2771, allocations: 7.938 kB / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.145e-05/0.2771, allocations: 0 / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.666e-05/0.2772, allocations: 7.938 kB / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.596e-05/0.2772, allocations: 7.984 kB / 1.054 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.512e-05/0.2773, allocations: 12 kB / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.435e-05/0.2773, allocations: 4 kB / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.404e-05/0.2774, allocations: 15.86 kB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.894e-05/0.2774, allocations: 4 kB / 1.054 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.2775, allocations: 4 kB / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.312e-06/0.2775, allocations: 0 / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.2775, allocations: 3.984 kB / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.22e-05/0.2775, allocations: 11.94 kB / 1.054 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.188e-05/0.2776, allocations: 11.97 kB / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2776, allocations: 4 kB / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.817e-06/0.2776, allocations: 3.984 kB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.167e-06/0.2776, allocations: 0 / 1.054 GB, free: 6.734 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.0003788/0.278, allocations: 323.9 kB / 1.055 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.278, allocations: 8.625 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.035e-05/0.2781, allocations: 34.75 kB / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.697e-05/0.2781, allocations: 4.922 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.2782, allocations: 172.2 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.2782, allocations: 4.375 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.086e-06/0.2782, allocations: 384 / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.2784, allocations: 46.19 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.2784, allocations: 3.938 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.2784, allocations: 3.938 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.2784, allocations: 7.984 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.2786, allocations: 27.97 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001399/0.2787, allocations: 153.7 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.2788, allocations: 30.59 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.959e-05/0.2789, allocations: 20.91 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.2789, allocations: 3.984 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.2789, allocations: 34.55 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.2789, allocations: 4 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0002892/0.2792, allocations: 77.53 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.2793, allocations: 51.41 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.062e-05/0.2794, allocations: 101.8 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.2794, allocations: 25.7 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.359e-05/0.2794, allocations: 84.27 kB / 1.056 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.2794, allocations: 4 kB / 1.056 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.506e-05/0.2795, allocations: 9.719 kB / 1.056 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.2796, allocations: 314.8 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.708e-05/0.2797, allocations: 19.91 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.468e-05/0.2797, allocations: 15.98 kB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.2799, allocations: 40.83 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2799, allocations: 0 / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001739/0.2801, allocations: 65.56 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.2801, allocations: 7.938 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.2801, allocations: 0 / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.2801, allocations: 0 / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.484e-05/0.2802, allocations: 7.984 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.2802, allocations: 8.031 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.984e-05/0.2802, allocations: 0 / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.2803, allocations: 4 kB / 1.056 GB, free: 4.812 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 6.604e-05/0.2803, allocations: 109.8 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.128e-06/0.2803, allocations: 7.922 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.309e-05/0.2804, allocations: 3.125 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.2804, allocations: 4 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2804, allocations: 0 / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-06/0.2804, allocations: 3.938 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.14e-05/0.2805, allocations: 157.7 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.2805, allocations: 0 / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.285e-05/0.2805, allocations: 11.92 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.2805, allocations: 3.938 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.2806, allocations: 0 / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.2806, allocations: 4 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2806, allocations: 0 / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.2808, allocations: 85.09 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.837e-05/0.2808, allocations: 81.11 kB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.2808, allocations: 3.938 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.258e-05/0.2809, allocations: 7.984 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/0.2809, allocations: 0 / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-06/0.2809, allocations: 0 / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.488e-05/0.2809, allocations: 83.28 kB / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2809, allocations: 0 / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001692/0.2811, allocations: 8.031 kB / 1.057 GB, free: 4.156 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.0004603/0.2816, allocations: 0.6201 MB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001833/0.2818, allocations: 39.98 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.2818, allocations: 0 / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.567e-05/0.2819, allocations: 15.98 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.2821, allocations: 9.031 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/0.2824, allocations: 127.2 kB / 1.057 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.2826, allocations: 0.6808 MB / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.811e-05/0.2826, allocations: 0 / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.75e-05/0.2827, allocations: 7.438 kB / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of SimCode: time 3e-07/0.2827, allocations: 0 / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01389/0.2966, allocations: 1.199 MB / 1.059 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.77, allocations: 10.16 kB / 1.059 GB, free: 1.445 MB / 0.8106 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.fmu > 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