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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001892/0.001892, allocations: 109.4 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002565/0.002565, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.402/3.402, allocations: 497.2 MB / 0.7811 GB, free: 33.72 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 74.67 kB / 1.134 GB, free: 33.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3777, allocations: 173.9 MB / 1.304 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002651/0.3803, allocations: 1.296 MB / 1.305 GB, free: 196 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002275/0.3826, allocations: 1.696 MB / 1.307 GB, free: 14.48 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.646e-05/0.3827, allocations: 4 kB / 1.307 GB, free: 14.48 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.868e-05/0.3828, allocations: 27.67 kB / 1.307 GB, free: 14.45 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002372/0.383, allocations: 95.27 kB / 1.307 GB, free: 14.36 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.3844, allocations: 0.6464 MB / 1.308 GB, free: 13.73 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0007893/0.3852, allocations: 0.7525 MB / 1.308 GB, free: 12.97 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.3854, allocations: 52.7 kB / 1.308 GB, free: 12.92 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003214/0.3857, allocations: 291.4 kB / 1.309 GB, free: 12.63 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003796/0.3861, allocations: 287 kB / 1.309 GB, free: 12.35 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.3862, allocations: 76 kB / 1.309 GB, free: 12.28 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.3863, allocations: 83.98 kB / 1.309 GB, free: 12.2 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.425e-05/0.3864, allocations: 71.75 kB / 1.309 GB, free: 12.12 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002702/0.3867, allocations: 259.1 kB / 1.31 GB, free: 11.87 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007237/0.3874, allocations: 0.6934 MB / 1.31 GB, free: 11.18 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3874, allocations: 0 / 1.31 GB, free: 11.18 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.667e-06/0.3874, allocations: 3.984 kB / 1.31 GB, free: 11.17 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.3874, allocations: 0 / 1.31 GB, free: 11.17 MB / 1.014 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.001337/0.3887, allocations: 0.8785 MB / 1.311 GB, free: 10.2 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.3888, allocations: 16.86 kB / 1.311 GB, free: 10.19 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.211e-05/0.3888, allocations: 46.73 kB / 1.311 GB, free: 10.13 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.389, allocations: 48.75 kB / 1.311 GB, free: 10.09 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.3904, allocations: 463.5 kB / 1.312 GB, free: 9.594 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.601e-05/0.3904, allocations: 36.25 kB / 1.312 GB, free: 9.559 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.3905, allocations: 44.36 kB / 1.312 GB, free: 9.516 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005093/0.391, allocations: 221.6 kB / 1.312 GB, free: 9.285 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.391, allocations: 0 / 1.312 GB, free: 9.285 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.3911, allocations: 8 kB / 1.312 GB, free: 9.277 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.3911, allocations: 7.984 kB / 1.312 GB, free: 9.27 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003397/0.3914, allocations: 123.9 kB / 1.312 GB, free: 9.148 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.3928, allocations: 0.9532 MB / 1.313 GB, free: 8.137 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000653/0.3934, allocations: 216.1 kB / 1.313 GB, free: 7.898 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002546/0.3937, allocations: 102.5 kB / 1.313 GB, free: 7.789 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.3937, allocations: 4 kB / 1.313 GB, free: 7.785 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000634/0.3944, allocations: 297.8 kB / 1.314 GB, free: 7.473 MB / 1.014 GB Notification: Performance of pre-optimization done (n=37): time 1.864e-06/0.3944, allocations: 0 / 1.314 GB, free: 7.473 MB / 1.014 GB Notification: Performance of matching and sorting (n=37): time 0.001141/0.3955, allocations: 469.8 kB / 1.314 GB, free: 7.008 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.36e-05/0.3956, allocations: 110.8 kB / 1.314 GB, free: 6.875 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.3959, allocations: 263 kB / 1.314 GB, free: 6.609 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.057e-05/0.3959, allocations: 49.7 kB / 1.314 GB, free: 6.555 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.3961, allocations: 157 kB / 1.315 GB, free: 6.395 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.3962, allocations: 111.1 kB / 1.315 GB, free: 6.285 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002554/0.3965, allocations: 154 kB / 1.315 GB, free: 6.129 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.3966, allocations: 346.8 kB / 1.315 GB, free: 5.781 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005533/0.3972, allocations: 220.9 kB / 1.315 GB, free: 5.559 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006754/0.3979, allocations: 392.6 kB / 1.316 GB, free: 5.109 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009868/0.3988, allocations: 0.5698 MB / 1.316 GB, free: 4.461 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.3988, allocations: 0 / 1.316 GB, free: 4.461 MB / 1.014 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001608/0.4005, allocations: 0.8521 MB / 1.317 GB, free: 3.566 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001451/0.4006, allocations: 182.2 kB / 1.317 GB, free: 3.352 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.4006, allocations: 8.016 kB / 1.317 GB, free: 3.344 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.4006, allocations: 4 kB / 1.317 GB, free: 3.34 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.4009, allocations: 59.83 kB / 1.317 GB, free: 3.281 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.4009, allocations: 7.984 kB / 1.317 GB, free: 3.273 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000898/0.4018, allocations: 187.8 kB / 1.318 GB, free: 3.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.122e-05/0.4018, allocations: 43.97 kB / 1.318 GB, free: 3.047 MB / 1.014 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.0002562/0.4021, allocations: 183.4 kB / 1.318 GB, free: 2.859 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.051e-05/0.4022, allocations: 31.81 kB / 1.318 GB, free: 2.828 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.831e-05/0.4022, allocations: 33.8 kB / 1.318 GB, free: 2.793 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.4022, allocations: 4.188 kB / 1.318 GB, free: 2.789 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.4023, allocations: 8 kB / 1.318 GB, free: 2.781 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.4023, allocations: 7.922 kB / 1.318 GB, free: 2.773 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/0.4036, allocations: 0.9127 MB / 1.319 GB, free: 1.801 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.4036, allocations: 4 kB / 1.319 GB, free: 1.797 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.4039, allocations: 43.97 kB / 1.319 GB, free: 1.754 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.4039, allocations: 0 / 1.319 GB, free: 1.754 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.198e-05/0.4039, allocations: 15.98 kB / 1.319 GB, free: 1.738 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.4039, allocations: 3.938 kB / 1.319 GB, free: 1.734 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4039, allocations: 0 / 1.319 GB, free: 1.734 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.4051, allocations: 0.72 MB / 1.319 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.399e-05/0.4052, allocations: 108.9 kB / 1.32 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/0.4052, allocations: 8 kB / 1.32 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.4054, allocations: 15.98 kB / 1.32 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.026e-05/0.4055, allocations: 35.95 kB / 1.32 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-05/0.4055, allocations: 19.98 kB / 1.32 GB, free: 0.793 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001709/0.4057, allocations: 177.9 kB / 1.32 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4057, allocations: 0 / 1.32 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005628/0.4063, allocations: 115.9 kB / 1.32 GB, free: 0.5039 MB / 1.014 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.001686/0.408, allocations: 1.269 MB / 1.321 GB, free: 15.21 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001411/0.4094, allocations: 0.7641 MB / 1.322 GB, free: 14.37 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4094, allocations: 0 / 1.322 GB, free: 14.37 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003356/0.4097, allocations: 144.5 kB / 1.322 GB, free: 14.23 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007836/0.4105, allocations: 115.4 kB / 1.322 GB, free: 14.11 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006555/0.417, allocations: 4.275 MB / 1.326 GB, free: 9.641 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004403/0.4175, allocations: 0.7727 MB / 1.327 GB, free: 8.84 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002318/0.4177, allocations: 55.27 kB / 1.327 GB, free: 8.781 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.4179, allocations: 111.4 kB / 1.327 GB, free: 8.672 MB / 1.029 GB Notification: Performance of SimCode: time 1.062e-06/0.4179, allocations: 0 / 1.327 GB, free: 8.672 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04549/0.4634, allocations: 9.945 MB / 1.337 GB, free: 14.91 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.609/9.072, allocations: 10.97 kB / 1.337 GB, free: 14.9 MB / 1.045 GB " [Timeout remaining time 291] (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 --stepSize=0.004 --timeout=800 --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) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.13029987225309]