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.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.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.0008509/0.0008508, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.006131/0.006131, allocations: 169.5 kB / 16.26 MB, free: 6.652 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.333/1.333, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.637/2.637, allocations: 462.7 MB / 0.7364 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004099/0.0004098, allocations: 16.03 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3311, allocations: 159.6 MB / 1.059 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.001501/0.3326, allocations: 1.002 MB / 1.06 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002383/0.335, allocations: 1.759 MB / 1.061 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/0.3352, allocations: 0 / 1.061 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.632e-05/0.3353, allocations: 11.86 kB / 1.061 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002486/0.3356, allocations: 71.47 kB / 1.062 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.3371, allocations: 0.6052 MB / 1.062 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007041/0.3378, allocations: 0.6549 MB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.338, allocations: 72.7 kB / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004013/0.3384, allocations: 247.3 kB / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003209/0.3387, allocations: 211.2 kB / 1.063 GB, free: 216 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.3389, allocations: 32 kB / 1.063 GB, free: 184 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.339, allocations: 43.92 kB / 1.063 GB, free: 140 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.459e-05/0.3391, allocations: 59.75 kB / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000304/0.3394, allocations: 244.8 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006433/0.3401, allocations: 0.6428 MB / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3401, allocations: 0 / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3401, allocations: 0 / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.635e-05/0.3401, allocations: 4 kB / 1.064 GB, free: 15.18 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.001236/0.3413, allocations: 0.7738 MB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.3414, allocations: 15.97 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.091e-05/0.3415, allocations: 46.73 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/0.3416, allocations: 52.56 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/0.3432, allocations: 489.8 kB / 1.066 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.736e-05/0.3433, allocations: 24.38 kB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.3434, allocations: 48.36 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004782/0.3439, allocations: 224.2 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.3439, allocations: 4 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.3439, allocations: 7.938 kB / 1.066 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.3439, allocations: 4 kB / 1.066 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000338/0.3443, allocations: 119.9 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.3456, allocations: 0.9647 MB / 1.067 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006853/0.3463, allocations: 236.1 kB / 1.067 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/0.3465, allocations: 102.5 kB / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.3466, allocations: 8 kB / 1.067 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005694/0.3471, allocations: 285.3 kB / 1.068 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 2.264e-06/0.3472, allocations: 4 kB / 1.068 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.001152/0.3483, allocations: 461.7 kB / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.831e-05/0.3484, allocations: 110.8 kB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.3487, allocations: 270.9 kB / 1.068 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.415e-05/0.3488, allocations: 45.7 kB / 1.068 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.3489, allocations: 164.8 kB / 1.069 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.426e-05/0.349, allocations: 94.61 kB / 1.069 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.3491, allocations: 65.69 kB / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.3492, allocations: 346.8 kB / 1.069 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005437/0.3498, allocations: 216.9 kB / 1.069 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006207/0.3504, allocations: 388.7 kB / 1.07 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000896/0.3513, allocations: 0.577 MB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.3513, allocations: 0 / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001536/0.3529, allocations: 0.8441 MB / 1.071 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001044/0.353, allocations: 186.2 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.353, allocations: 7.938 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.353, allocations: 4 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.3533, allocations: 56.22 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.3533, allocations: 12 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.3543, allocations: 239.5 kB / 1.072 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.482e-05/0.3544, allocations: 43.97 kB / 1.072 GB, free: 7.18 MB / 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.0002194/0.3546, allocations: 171.5 kB / 1.072 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-05/0.3547, allocations: 31.62 kB / 1.072 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.7e-05/0.3548, allocations: 37.8 kB / 1.072 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.3548, allocations: 7.938 kB / 1.072 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.3548, allocations: 4 kB / 1.072 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.3548, allocations: 3.984 kB / 1.072 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.3561, allocations: 0.9167 MB / 1.073 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3561, allocations: 4 kB / 1.073 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002251/0.3564, allocations: 47.91 kB / 1.073 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3564, allocations: 0 / 1.073 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.3564, allocations: 11.98 kB / 1.073 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.3564, allocations: 4 kB / 1.073 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3564, allocations: 0 / 1.073 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.3575, allocations: 0.7135 MB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.192e-05/0.3576, allocations: 112.7 kB / 1.074 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.661e-05/0.3577, allocations: 8 kB / 1.074 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.3579, allocations: 19.92 kB / 1.074 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.56e-05/0.358, allocations: 31.95 kB / 1.074 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.733e-05/0.358, allocations: 15.98 kB / 1.074 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001623/0.3582, allocations: 178 kB / 1.074 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3582, allocations: 192 / 1.074 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005446/0.3588, allocations: 115.9 kB / 1.074 GB, free: 4.656 MB / 0.8262 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.001521/0.3603, allocations: 1.292 MB / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001409/0.3617, allocations: 0.8242 MB / 1.076 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3617, allocations: 0.75 kB / 1.076 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003459/0.3621, allocations: 162.5 kB / 1.076 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008351/0.3629, allocations: 105.4 kB / 1.076 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006345/0.3693, allocations: 4.336 MB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.3696, allocations: 0.773 MB / 1.081 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000241/0.3699, allocations: 55.27 kB / 1.081 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.3701, allocations: 115.8 kB / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.3701, allocations: 3.938 kB / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.3934, allocations: 9.315 MB / 1.091 GB, free: 3.547 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/0.3937, allocations: 201.5 kB / 1.091 GB, free: 3.293 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.902/2.296, allocations: 0 / 1.091 GB, free: 3.293 MB / 0.8419 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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