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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002231/0.002231, allocations: 214 kB / 22.25 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.271/3.271, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003302/0.003302, allocations: 65.25 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.382, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002925/0.3849, allocations: 1.212 MB / 1.365 GB, free: 12.87 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00283/0.3878, allocations: 1.706 MB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.3879, allocations: 0 / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 7.403e-05/0.388, allocations: 23.67 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002466/0.3882, allocations: 95.34 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001632/0.3899, allocations: 0.6456 MB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000871/0.3907, allocations: 0.7486 MB / 1.368 GB, free: 9.656 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.3909, allocations: 56.83 kB / 1.368 GB, free: 9.594 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003494/0.3913, allocations: 307.3 kB / 1.368 GB, free: 9.293 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003718/0.3916, allocations: 235.1 kB / 1.368 GB, free: 9.062 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.3917, allocations: 72 kB / 1.368 GB, free: 8.992 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.3919, allocations: 87.98 kB / 1.368 GB, free: 8.906 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.81e-05/0.392, allocations: 71.75 kB / 1.369 GB, free: 8.836 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002692/0.3923, allocations: 239.3 kB / 1.369 GB, free: 8.602 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007435/0.393, allocations: 0.7051 MB / 1.369 GB, free: 7.895 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.393, allocations: 0 / 1.369 GB, free: 7.895 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.974e-06/0.393, allocations: 0 / 1.369 GB, free: 7.895 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.393, allocations: 0 / 1.369 GB, free: 7.895 MB / 1.061 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.001505/0.3945, allocations: 0.8575 MB / 1.37 GB, free: 6.953 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.3946, allocations: 12.03 kB / 1.37 GB, free: 6.941 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.799e-05/0.3946, allocations: 54.72 kB / 1.37 GB, free: 6.879 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.3948, allocations: 56.7 kB / 1.37 GB, free: 6.824 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/0.3962, allocations: 393 kB / 1.371 GB, free: 6.418 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.146e-05/0.3962, allocations: 28.38 kB / 1.371 GB, free: 6.391 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.3963, allocations: 48.36 kB / 1.371 GB, free: 6.344 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004931/0.3968, allocations: 216.2 kB / 1.371 GB, free: 6.117 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.3969, allocations: 7.984 kB / 1.371 GB, free: 6.109 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.3969, allocations: 7.984 kB / 1.371 GB, free: 6.102 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.3969, allocations: 4 kB / 1.371 GB, free: 6.098 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003606/0.3972, allocations: 127.9 kB / 1.371 GB, free: 5.973 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.3986, allocations: 0.812 MB / 1.372 GB, free: 5.109 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006978/0.3993, allocations: 216.2 kB / 1.372 GB, free: 4.871 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000275/0.3995, allocations: 106.4 kB / 1.372 GB, free: 4.758 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.3996, allocations: 4 kB / 1.372 GB, free: 4.754 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006273/0.4002, allocations: 297.3 kB / 1.373 GB, free: 4.441 MB / 1.061 GB Notification: Performance of pre-optimization done (n=37): time 1.673e-06/0.4002, allocations: 0 / 1.373 GB, free: 4.441 MB / 1.061 GB Notification: Performance of matching and sorting (n=37): time 0.001224/0.4014, allocations: 469.8 kB / 1.373 GB, free: 3.977 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.487e-05/0.4015, allocations: 106.8 kB / 1.373 GB, free: 3.848 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/0.4018, allocations: 272.1 kB / 1.373 GB, free: 3.57 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.987e-05/0.4019, allocations: 45.7 kB / 1.373 GB, free: 3.52 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.402, allocations: 157 kB / 1.374 GB, free: 3.363 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.732e-05/0.4021, allocations: 107.2 kB / 1.374 GB, free: 3.258 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002611/0.4024, allocations: 154 kB / 1.374 GB, free: 3.102 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.4026, allocations: 346.8 kB / 1.374 GB, free: 2.754 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007039/0.4033, allocations: 419 kB / 1.375 GB, free: 2.305 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009329/0.4042, allocations: 0.7541 MB / 1.375 GB, free: 1.398 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.4052, allocations: 0.5774 MB / 1.376 GB, free: 0.7422 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.4052, allocations: 4 kB / 1.376 GB, free: 0.7383 MB / 1.061 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00183/0.407, allocations: 1.038 MB / 1.377 GB, free: 15.62 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001381/0.4072, allocations: 190.2 kB / 1.377 GB, free: 15.4 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.4072, allocations: 11.88 kB / 1.377 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.4072, allocations: 4 kB / 1.377 GB, free: 15.38 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/0.4074, allocations: 51.91 kB / 1.377 GB, free: 15.33 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-05/0.4074, allocations: 11.94 kB / 1.377 GB, free: 15.32 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009415/0.4084, allocations: 183.7 kB / 1.377 GB, free: 15.14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.623e-05/0.4085, allocations: 39.97 kB / 1.377 GB, free: 15.1 MB / 1.076 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.0002511/0.4087, allocations: 179.5 kB / 1.378 GB, free: 14.92 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.091e-05/0.4088, allocations: 31.81 kB / 1.378 GB, free: 14.89 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.877e-05/0.4089, allocations: 37.73 kB / 1.378 GB, free: 14.85 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.4089, allocations: 4 kB / 1.378 GB, free: 14.84 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4089, allocations: 0 / 1.378 GB, free: 14.84 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.4089, allocations: 0 / 1.378 GB, free: 14.84 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.4103, allocations: 0.8697 MB / 1.378 GB, free: 13.92 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.4103, allocations: 0 / 1.378 GB, free: 13.92 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.4106, allocations: 47.89 kB / 1.379 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.4106, allocations: 4 kB / 1.379 GB, free: 13.87 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.4106, allocations: 11.98 kB / 1.379 GB, free: 13.86 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.4106, allocations: 4 kB / 1.379 GB, free: 13.86 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4106, allocations: 0 / 1.379 GB, free: 13.86 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.4118, allocations: 0.7202 MB / 1.379 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.4119, allocations: 23.81 kB / 1.379 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.4119, allocations: 8 kB / 1.379 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.4122, allocations: 20.02 kB / 1.379 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.901e-05/0.4122, allocations: 31.95 kB / 1.379 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.021e-05/0.4123, allocations: 19.98 kB / 1.379 GB, free: 13.02 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001826/0.4124, allocations: 183 kB / 1.38 GB, free: 12.84 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.4124, allocations: 0 / 1.38 GB, free: 12.84 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005821/0.413, allocations: 119.9 kB / 1.38 GB, free: 12.72 MB / 1.076 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.001646/0.4147, allocations: 1.276 MB / 1.381 GB, free: 11.42 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001559/0.4162, allocations: 0.944 MB / 1.382 GB, free: 10.36 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4162, allocations: 4.25 kB / 1.382 GB, free: 10.36 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003558/0.4166, allocations: 135.8 kB / 1.382 GB, free: 10.23 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007843/0.4174, allocations: 113.9 kB / 1.382 GB, free: 10.11 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007506/0.4249, allocations: 5.037 MB / 1.387 GB, free: 4.723 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001804/0.4251, allocations: 160.9 kB / 1.387 GB, free: 4.543 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002462/0.4253, allocations: 55.27 kB / 1.387 GB, free: 4.488 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.4255, allocations: 111.4 kB / 1.387 GB, free: 4.379 MB / 1.076 GB Notification: Performance of SimCode: time 1.713e-06/0.4255, allocations: 4 kB / 1.387 GB, free: 4.375 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06068/0.4862, allocations: 11.43 MB / 1.398 GB, free: 9.254 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.28, allocations: 4.062 kB / 1.398 GB, free: 9.25 MB / 1.092 GB " [Timeout remaining time 288] (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/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: 19.06608662987128]