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.001319/0.001319, allocations: 108 kB / 15.61 MB, free: 148 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.001507/0.001507, allocations: 196 kB / 16.53 MB, free: 6.656 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.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.646/2.646, allocations: 469.4 MB / 0.742 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 63.44 kB / 0.9083 GB, free: 34.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2865, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001781/0.2883, allocations: 0.6095 MB / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008045/0.2891, allocations: 0.7807 MB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.379e-05/0.2891, allocations: 0 / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.343e-05/0.2892, allocations: 3.938 kB / 1.065 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.575e-05/0.2892, allocations: 4 kB / 1.065 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.59e-05/0.2893, allocations: 7.984 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.401e-05/0.2893, allocations: 15.92 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.351e-05/0.2894, allocations: 11.98 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.315e-05/0.2895, allocations: 8 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.784e-05/0.2895, allocations: 7.922 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.2895, allocations: 4 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.961e-06/0.2895, allocations: 0 / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.2895, allocations: 0 / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.264e-05/0.2896, allocations: 7.938 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 5.449e-05/0.2896, allocations: 15.97 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2896, allocations: 0 / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.173e-06/0.2896, allocations: 0 / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.2896, allocations: 4 kB / 1.065 GB, free: 13.02 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.0003767/0.29, allocations: 327.8 kB / 1.065 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.2901, allocations: 12.03 kB / 1.065 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.982e-05/0.2901, allocations: 34.69 kB / 1.065 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.137e-05/0.2901, allocations: 8.844 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.2902, allocations: 164.3 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.2903, allocations: 4.375 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.311e-06/0.2903, allocations: 384 / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.2904, allocations: 46.23 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.2904, allocations: 7.875 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.024e-06/0.2905, allocations: 0 / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.2905, allocations: 0 / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.2906, allocations: 27.97 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000143/0.2908, allocations: 153.7 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.2909, allocations: 38.53 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.39e-05/0.291, allocations: 24.89 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/0.291, allocations: 0 / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.291, allocations: 30.56 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.291, allocations: 0 / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0002966/0.2913, allocations: 85.61 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.2913, allocations: 51.41 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.194e-05/0.2914, allocations: 101.8 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.2914, allocations: 25.7 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.213e-05/0.2915, allocations: 88.12 kB / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.2915, allocations: 11.84 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.2915, allocations: 9.719 kB / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.971e-05/0.2916, allocations: 314.8 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.873e-05/0.2917, allocations: 20.02 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.871e-05/0.2918, allocations: 11.98 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.292, allocations: 36.83 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.292, allocations: 0 / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001809/0.2922, allocations: 69.66 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.2922, allocations: 9.5 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.2922, allocations: 0 / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.2922, allocations: 0 / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.626e-05/0.2923, allocations: 7.984 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.2923, allocations: 0 / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.462e-05/0.2923, allocations: 7.984 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.2923, allocations: 0 / 1.067 GB, free: 11.09 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 6.941e-05/0.2924, allocations: 115.6 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.238e-06/0.2924, allocations: 3.938 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.517e-05/0.2925, allocations: 3.125 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.2925, allocations: 0 / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.2925, allocations: 0 / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2925, allocations: 4 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.516e-05/0.2926, allocations: 153.6 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2926, allocations: 0 / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.342e-05/0.2926, allocations: 11.98 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.2926, allocations: 3.938 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.2927, allocations: 4 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.2927, allocations: 0 / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2927, allocations: 0 / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.2929, allocations: 89.03 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.593e-05/0.2929, allocations: 77.11 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.2929, allocations: 11.94 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.287e-05/0.293, allocations: 8.016 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/0.293, allocations: 4 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.293, allocations: 0 / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.31e-05/0.2931, allocations: 79.28 kB / 1.067 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2931, allocations: 0 / 1.067 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001718/0.2933, allocations: 0 / 1.067 GB, free: 10.44 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.0004701/0.2937, allocations: 0.6324 MB / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001918/0.2939, allocations: 35.91 kB / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.2939, allocations: 0 / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8e-05/0.294, allocations: 20.02 kB / 1.068 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.2942, allocations: 5.375 kB / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000341/0.2946, allocations: 123.3 kB / 1.068 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.2948, allocations: 0.6768 MB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.089e-05/0.2948, allocations: 0 / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.2949, allocations: 11.44 kB / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2949, allocations: 4.062 kB / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01597/0.3108, allocations: 1.208 MB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.98/7.29, allocations: 2.625 kB / 1.07 GB, free: 7.723 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.csv","/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