Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001762/0.001762, allocations: 98.33 kB / 19.73 MB, free: 2.23 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.00214/0.00214, allocations: 215.6 kB / 23.04 MB, free: 5.074 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.551/1.551, allocations: 230.6 MB / 256.8 MB, free: 7.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.781/2.781, allocations: 476.7 MB / 0.7715 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="cs",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.002056/0.002056, allocations: 64.38 kB / 1.118 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3701, allocations: 170 MB / 1.284 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002577/0.3726, allocations: 1.3 MB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002526/0.3752, allocations: 1.726 MB / 1.287 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.3753, allocations: 0 / 1.287 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.084e-05/0.3754, allocations: 27.61 kB / 1.287 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002536/0.3756, allocations: 95.34 kB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.3772, allocations: 0.6503 MB / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000886/0.3781, allocations: 0.7564 MB / 1.289 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.3782, allocations: 52.86 kB / 1.289 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003877/0.3786, allocations: 307.3 kB / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004484/0.3791, allocations: 275.1 kB / 1.289 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.3792, allocations: 72 kB / 1.289 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.3794, allocations: 95.92 kB / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.841e-05/0.3794, allocations: 67.77 kB / 1.289 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000297/0.3797, allocations: 271.1 kB / 1.29 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008085/0.3805, allocations: 0.6938 MB / 1.29 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3805, allocations: 0 / 1.29 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3805, allocations: 0 / 1.29 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.201e-05/0.3806, allocations: 4 kB / 1.29 GB, free: 5.297 MB / 0.9825 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.001524/0.3821, allocations: 0.8692 MB / 1.291 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.3821, allocations: 12.03 kB / 1.291 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.843e-05/0.3821, allocations: 8.125 kB / 1.291 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.962e-05/0.3822, allocations: 46.73 kB / 1.291 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/0.3824, allocations: 52.75 kB / 1.291 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/0.3838, allocations: 393 kB / 1.292 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.054e-05/0.3839, allocations: 36.36 kB / 1.292 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.384, allocations: 44.38 kB / 1.292 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004953/0.3845, allocations: 224 kB / 1.292 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3845, allocations: 3.938 kB / 1.292 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.3845, allocations: 8 kB / 1.292 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.3845, allocations: 4 kB / 1.292 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003362/0.3849, allocations: 119.9 kB / 1.292 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.3863, allocations: 0.921 MB / 1.293 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000732/0.387, allocations: 220.2 kB / 1.293 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/0.3873, allocations: 106.5 kB / 1.293 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/0.3873, allocations: 4 kB / 1.293 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006965/0.388, allocations: 290.9 kB / 1.294 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=37): time 1.703e-06/0.388, allocations: 0 / 1.294 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37): time 0.001302/0.3893, allocations: 467.8 kB / 1.294 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.103e-05/0.3894, allocations: 110.8 kB / 1.294 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003055/0.3897, allocations: 268.2 kB / 1.294 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-05/0.3898, allocations: 45.7 kB / 1.295 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.39, allocations: 164.9 kB / 1.295 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.3901, allocations: 107.2 kB / 1.295 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002819/0.3904, allocations: 154 kB / 1.295 GB, free: 396 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000209/0.3906, allocations: 342.8 kB / 1.295 GB, free: 44 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000589/0.3912, allocations: 224.7 kB / 1.295 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007085/0.3919, allocations: 390.6 kB / 1.296 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009772/0.3929, allocations: 0.571 MB / 1.296 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.3929, allocations: 0 / 1.296 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001687/0.3945, allocations: 0.8584 MB / 1.297 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000152/0.3947, allocations: 194.1 kB / 1.297 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.3947, allocations: 0 / 1.297 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.3947, allocations: 8 kB / 1.297 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.395, allocations: 51.89 kB / 1.297 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.395, allocations: 7.938 kB / 1.297 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009625/0.3959, allocations: 175.7 kB / 1.298 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.66e-05/0.396, allocations: 52.14 kB / 1.298 GB, free: 13.31 MB / 0.9981 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.000258/0.3963, allocations: 167.5 kB / 1.298 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.689e-05/0.3964, allocations: 47.62 kB / 1.298 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.557e-05/0.3964, allocations: 29.81 kB / 1.298 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.3965, allocations: 4 kB / 1.298 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.966e-06/0.3965, allocations: 3.984 kB / 1.298 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.3965, allocations: 8 kB / 1.298 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.3979, allocations: 0.8864 MB / 1.299 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3979, allocations: 0 / 1.299 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.3982, allocations: 47.91 kB / 1.299 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.3982, allocations: 0 / 1.299 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/0.3982, allocations: 11.98 kB / 1.299 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.3982, allocations: 8 kB / 1.299 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3982, allocations: 0 / 1.299 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.3994, allocations: 0.7122 MB / 1.3 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/0.3995, allocations: 35.7 kB / 1.3 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.962e-05/0.3995, allocations: 15.97 kB / 1.3 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002627/0.3998, allocations: 11.98 kB / 1.3 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.07e-05/0.3999, allocations: 35.95 kB / 1.3 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/0.3999, allocations: 19.98 kB / 1.3 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001811/0.4001, allocations: 183.1 kB / 1.3 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4001, allocations: 0 / 1.3 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006194/0.4007, allocations: 111.9 kB / 1.3 GB, free: 10.9 MB / 0.9981 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.001611/0.4023, allocations: 1.261 MB / 1.301 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001422/0.4037, allocations: 0.7567 MB / 1.302 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4037, allocations: 4 kB / 1.302 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003449/0.4041, allocations: 144.5 kB / 1.302 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008281/0.4049, allocations: 115.8 kB / 1.302 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006992/0.4119, allocations: 4.26 MB / 1.306 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.4123, allocations: 0.7804 MB / 1.307 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002311/0.4125, allocations: 63.44 kB / 1.307 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.4127, allocations: 111.4 kB / 1.307 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of SimCode: time 9.11e-07/0.4127, allocations: 0 / 1.307 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03613/0.4489, allocations: 10.27 MB / 1.317 GB, free: 9.039 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.2, allocations: 9.438 kB / 1.317 GB, free: 9.035 MB / 1.014 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.144211572012864]