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: "" <> 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.0009258/0.0009259, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.007109/0.007109, allocations: 172.2 kB / 16.26 MB, free: 6.676 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.358/1.358, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.564/2.564, allocations: 462.7 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003757/0.0003756, allocations: 14.78 kB / 0.9029 GB, free: 36.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.2999, allocations: 159.6 MB / 1.059 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.0007943/0.3007, allocations: 347.3 kB / 1.059 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008636/0.3016, allocations: 0.7807 MB / 1.06 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.74e-05/0.3017, allocations: 4 kB / 1.06 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.55e-05/0.3017, allocations: 3.938 kB / 1.06 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.893e-05/0.3018, allocations: 7.922 kB / 1.06 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.045e-05/0.3018, allocations: 4 kB / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.251e-05/0.3019, allocations: 8 kB / 1.06 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.501e-05/0.302, allocations: 7.984 kB / 1.06 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.334e-05/0.302, allocations: 11.92 kB / 1.06 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.317e-05/0.3021, allocations: 7.938 kB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.3021, allocations: 0 / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.922e-06/0.3021, allocations: 0 / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.3021, allocations: 11.98 kB / 1.06 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.523e-05/0.3022, allocations: 33.64 kB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.759e-05/0.3022, allocations: 11.97 kB / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.3022, allocations: 0 / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.285e-06/0.3022, allocations: 0 / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.3022, allocations: 0 / 1.06 GB, free: 3.609 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.0003816/0.3026, allocations: 335.9 kB / 1.06 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.3027, allocations: 11.97 kB / 1.06 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.999e-05/0.3027, allocations: 34.75 kB / 1.06 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.198e-05/0.3028, allocations: 0.9375 kB / 1.06 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.3029, allocations: 172.2 kB / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.3029, allocations: 384 / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.3029, allocations: 384 / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.3031, allocations: 54.23 kB / 1.061 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3031, allocations: 7.875 kB / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.3031, allocations: 7.938 kB / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.3031, allocations: 0 / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.3033, allocations: 31.97 kB / 1.061 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000138/0.3034, allocations: 153.7 kB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.3035, allocations: 38.59 kB / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.428e-05/0.3036, allocations: 28.89 kB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.148e-06/0.3036, allocations: 0 / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.3037, allocations: 34.56 kB / 1.061 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 2.675e-06/0.3037, allocations: 0 / 1.061 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.000316/0.304, allocations: 97.66 kB / 1.061 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.304, allocations: 59.39 kB / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.024e-05/0.3041, allocations: 93.86 kB / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.3041, allocations: 25.7 kB / 1.061 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.074e-05/0.3042, allocations: 84.14 kB / 1.061 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.3042, allocations: 4 kB / 1.061 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.947e-05/0.3042, allocations: 9.719 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.21e-05/0.3043, allocations: 314.8 kB / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.188e-05/0.3044, allocations: 23.98 kB / 1.062 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.211e-05/0.3045, allocations: 19.92 kB / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.3046, allocations: 52.83 kB / 1.062 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3046, allocations: 0 / 1.062 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001857/0.3048, allocations: 73.66 kB / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3048, allocations: 11.97 kB / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3049, allocations: 0 / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.3049, allocations: 192 / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.048e-05/0.305, allocations: 11.98 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.305, allocations: 4 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.636e-05/0.305, allocations: 7.906 kB / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.305, allocations: 4 kB / 1.062 GB, free: 1.602 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.639e-05/0.3051, allocations: 113.8 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.04e-05/0.3051, allocations: 7.922 kB / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.483e-05/0.3051, allocations: 3.125 kB / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.3051, allocations: 4 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3051, allocations: 0 / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3052, allocations: 0 / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.491e-05/0.3052, allocations: 149.7 kB / 1.062 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3053, allocations: 7.938 kB / 1.062 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.439e-05/0.3053, allocations: 11.92 kB / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3053, allocations: 7.938 kB / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.3053, allocations: 4 kB / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3053, allocations: 0 / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3053, allocations: 0 / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.3056, allocations: 97.09 kB / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/0.3056, allocations: 81.11 kB / 1.062 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.3056, allocations: 3.938 kB / 1.062 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.082e-05/0.3057, allocations: 7.984 kB / 1.062 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/0.3057, allocations: 4 kB / 1.062 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.3057, allocations: 0 / 1.062 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.155e-05/0.3058, allocations: 75.28 kB / 1.062 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3058, allocations: 8.031 kB / 1.062 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001777/0.3059, allocations: 0 / 1.062 GB, free: 0.9336 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.0004625/0.3064, allocations: 0.6397 MB / 1.063 GB, free: 268 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001929/0.3066, allocations: 39.97 kB / 1.063 GB, free: 228 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3066, allocations: 0 / 1.063 GB, free: 228 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.374e-05/0.3067, allocations: 24.08 kB / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.3069, allocations: 4 kB / 1.063 GB, free: 200 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003059/0.3072, allocations: 134.1 kB / 1.063 GB, free: 24 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.3074, allocations: 0.6731 MB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.99e-05/0.3075, allocations: 8.062 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.878e-05/0.3075, allocations: 7.438 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of SimCode: time 1.513e-06/0.3075, allocations: 0 / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009545/0.3171, allocations: 0.9675 MB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/0.3173, allocations: 217.6 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/1.899, allocations: 3.938 kB / 1.065 GB, free: 14.22 MB / 0.8262 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