Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.Validation.Ramp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.00151/0.001509, 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.001722/0.001722, allocations: 193.5 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.845/2.845, allocations: 469.4 MB / 0.742 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 64.5 kB / 0.9083 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3133, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002679/0.3161, allocations: 1.288 MB / 1.065 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002268/0.3183, allocations: 1.698 MB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001649/0.3185, allocations: 4 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.689e-05/0.3186, allocations: 23.62 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002449/0.3189, allocations: 79.34 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.3204, allocations: 0.6454 MB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0009217/0.3214, allocations: 0.7993 MB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001864/0.3216, allocations: 60.72 kB / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004004/0.322, allocations: 295.4 kB / 1.068 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003482/0.3223, allocations: 239.2 kB / 1.069 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002035/0.3225, allocations: 75.98 kB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002383/0.3228, allocations: 83.98 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.879e-05/0.3229, allocations: 79.69 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003198/0.3232, allocations: 263.1 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006969/0.3239, allocations: 0.682 MB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3239, allocations: 4 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3239, allocations: 0 / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.24e-05/0.324, allocations: 0 / 1.07 GB, free: 8.211 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.001601/0.3256, allocations: 0.8633 MB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.3256, allocations: 11.97 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.021e-05/0.3257, allocations: 62.72 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.3258, allocations: 44.56 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/0.3275, allocations: 459.4 kB / 1.071 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.866e-05/0.3275, allocations: 32.36 kB / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.3277, allocations: 44.38 kB / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004845/0.3281, allocations: 225.3 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3282, allocations: 4 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/0.3282, allocations: 8 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.3282, allocations: 4 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000352/0.3286, allocations: 119.9 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.3299, allocations: 0.9608 MB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007058/0.3307, allocations: 240.1 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002751/0.3309, allocations: 106.5 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.331, allocations: 4 kB / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006372/0.3316, allocations: 285.3 kB / 1.073 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 2.685e-06/0.3316, allocations: 4 kB / 1.073 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.001224/0.3329, allocations: 447.1 kB / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.732e-05/0.333, allocations: 122.8 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002926/0.3333, allocations: 258.9 kB / 1.074 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.679e-05/0.3334, allocations: 57.62 kB / 1.074 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.3335, allocations: 156.9 kB / 1.074 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.801e-05/0.3336, allocations: 106.6 kB / 1.074 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002523/0.3339, allocations: 150 kB / 1.074 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.334, allocations: 338.8 kB / 1.075 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005973/0.3346, allocations: 228.8 kB / 1.075 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006569/0.3353, allocations: 392.6 kB / 1.075 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009624/0.3362, allocations: 0.583 MB / 1.076 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.3363, allocations: 0 / 1.076 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001619/0.3379, allocations: 0.8387 MB / 1.077 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001241/0.338, allocations: 182.2 kB / 1.077 GB, free: 420 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.338, allocations: 7.938 kB / 1.077 GB, free: 412 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.3381, allocations: 4 kB / 1.077 GB, free: 408 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.3383, allocations: 56.27 kB / 1.077 GB, free: 352 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.3383, allocations: 11.94 kB / 1.077 GB, free: 340 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009662/0.3393, allocations: 179.4 kB / 1.077 GB, free: 160 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.589e-05/0.3394, allocations: 47.95 kB / 1.077 GB, free: 112 kB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,pul.booPul.y,$PRE.pul.booPul.y,booPul1.y,$PRE.booPul1.y,$whenCondition15,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,pul1.booPul.y,$PRE.pul1.booPul.y,booPul2.y,$PRE.booPul2.y,$whenCondition10,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,pul2.booPul.y,$PRE.pul2.booPul.y,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 6 * 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 0.0002442/0.3396, allocations: 173.2 kB / 1.077 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.761e-05/0.3397, allocations: 31.61 kB / 1.077 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.841e-05/0.3398, allocations: 37.81 kB / 1.077 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.3398, allocations: 4 kB / 1.077 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.3398, allocations: 4 kB / 1.077 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.3398, allocations: 3.984 kB / 1.077 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/0.3412, allocations: 0.9212 MB / 1.078 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.3412, allocations: 4 kB / 1.078 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/0.3414, allocations: 43.91 kB / 1.078 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.3415, allocations: 0 / 1.078 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.942e-05/0.3415, allocations: 15.98 kB / 1.078 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3415, allocations: 0 / 1.078 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3415, allocations: 0 / 1.078 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.3426, allocations: 0.7094 MB / 1.079 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.434e-05/0.3427, allocations: 112.6 kB / 1.079 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.192e-05/0.3428, allocations: 20.03 kB / 1.079 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.343, allocations: 11.98 kB / 1.079 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.631e-05/0.3431, allocations: 31.97 kB / 1.079 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.3431, allocations: 15.98 kB / 1.079 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001528/0.3433, allocations: 178 kB / 1.079 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3433, allocations: 0 / 1.079 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000563/0.3439, allocations: 111.9 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (ramUpDow1.y_internal,ramUpDow.y_internal,ramUp.y_internal,ramUp1.y_internal) * Number of discrete variables: 21 ($whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul2.booPul.y,booPul5.y,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,booPul2.y,pul1.booPul.y,$whenCondition15,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,booPul1.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001528/0.3454, allocations: 1.284 MB / 1.081 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001415/0.3468, allocations: 0.8484 MB / 1.082 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.3468, allocations: 4 kB / 1.082 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000346/0.3472, allocations: 155.7 kB / 1.082 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007888/0.348, allocations: 109.3 kB / 1.082 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006074/0.3541, allocations: 4.272 MB / 1.086 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.3544, allocations: 0.7689 MB / 1.087 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002311/0.3546, allocations: 51.27 kB / 1.087 GB, free: 5.77 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.3548, allocations: 115.4 kB / 1.087 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of SimCode: time 3.51e-07/0.3548, allocations: 0 / 1.087 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02888/0.3837, allocations: 9.843 MB / 1.097 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.084/8.468, allocations: 13.77 kB / 1.097 GB, free: 11.96 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches