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.001328/0.001328, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001553/0.001553, allocations: 217.5 kB / 23.03 MB, free: 4.922 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.559/1.559, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.852/2.852, allocations: 476.8 MB / 0.7715 GB, free: 3.848 MB / 0.6231 GB " [Timeout remaining time 176] 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.002117/0.002117, allocations: 62.38 kB / 1.118 GB, free: 39.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3589, allocations: 170 MB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002763/0.3617, allocations: 1.206 MB / 1.285 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002433/0.3641, allocations: 1.706 MB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.3643, allocations: 0 / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.526e-05/0.3643, allocations: 19.69 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002539/0.3646, allocations: 87.34 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00161/0.3662, allocations: 0.6628 MB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009629/0.3672, allocations: 0.7486 MB / 1.288 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/0.3674, allocations: 64.06 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004557/0.3678, allocations: 299.4 kB / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004718/0.3683, allocations: 283.1 kB / 1.289 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001647/0.3684, allocations: 72 kB / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.3686, allocations: 83.94 kB / 1.289 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.3687, allocations: 79.73 kB / 1.289 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003167/0.369, allocations: 231.3 kB / 1.29 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008278/0.3699, allocations: 0.7009 MB / 1.29 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3699, allocations: 0 / 1.29 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.953e-06/0.3699, allocations: 0 / 1.29 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.925e-05/0.3699, allocations: 3.938 kB / 1.29 GB, free: 4.32 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.001592/0.3715, allocations: 0.8653 MB / 1.291 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.3715, allocations: 8.031 kB / 1.291 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.456e-05/0.3715, allocations: 4.188 kB / 1.291 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.319e-05/0.3716, allocations: 50.73 kB / 1.291 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001454/0.3717, allocations: 52.75 kB / 1.291 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/0.3732, allocations: 401 kB / 1.292 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.57e-05/0.3733, allocations: 32.36 kB / 1.292 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.3734, allocations: 48.31 kB / 1.292 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005224/0.3739, allocations: 224 kB / 1.292 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3739, allocations: 0 / 1.292 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.374, allocations: 8 kB / 1.292 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.435e-06/0.374, allocations: 4 kB / 1.292 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003581/0.3743, allocations: 119.9 kB / 1.292 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.3757, allocations: 0.8276 MB / 1.293 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007106/0.3764, allocations: 220.1 kB / 1.293 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002699/0.3766, allocations: 90.53 kB / 1.293 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/0.3767, allocations: 8 kB / 1.293 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006431/0.3773, allocations: 302.9 kB / 1.293 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=37): time 2.074e-06/0.3773, allocations: 0 / 1.293 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37): time 0.001222/0.3785, allocations: 474.7 kB / 1.294 GB, free: 388 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.359e-05/0.3786, allocations: 110.8 kB / 1.294 GB, free: 252 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003076/0.3789, allocations: 264.2 kB / 1.294 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.539e-05/0.379, allocations: 45.7 kB / 1.294 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.3792, allocations: 160.9 kB / 1.294 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.3793, allocations: 107.2 kB / 1.294 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002893/0.3796, allocations: 154 kB / 1.295 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.3797, allocations: 346.8 kB / 1.295 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007226/0.3804, allocations: 411 kB / 1.295 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009489/0.3814, allocations: 0.7618 MB / 1.296 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.3824, allocations: 0.5741 MB / 1.297 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.3824, allocations: 0 / 1.297 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001863/0.3843, allocations: 1.04 MB / 1.298 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001366/0.3844, allocations: 190.1 kB / 1.298 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.3844, allocations: 4.375 kB / 1.298 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.3844, allocations: 12 kB / 1.298 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.3847, allocations: 51.84 kB / 1.298 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/0.3847, allocations: 7.984 kB / 1.298 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000949/0.3856, allocations: 175.6 kB / 1.298 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.3857, allocations: 39.97 kB / 1.298 GB, free: 11.53 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.0002616/0.386, allocations: 175.5 kB / 1.298 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.487e-05/0.3861, allocations: 39.75 kB / 1.298 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.265e-05/0.3861, allocations: 33.8 kB / 1.298 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.3862, allocations: 4 kB / 1.298 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.3862, allocations: 0 / 1.298 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.457e-06/0.3862, allocations: 8.172 kB / 1.298 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00164/0.3878, allocations: 0.8669 MB / 1.299 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3878, allocations: 7.875 kB / 1.299 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.3881, allocations: 43.97 kB / 1.299 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.3881, allocations: 0 / 1.299 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.269e-05/0.3881, allocations: 15.98 kB / 1.299 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.3881, allocations: 4 kB / 1.299 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3881, allocations: 3.938 kB / 1.299 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.3894, allocations: 0.7084 MB / 1.3 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/0.3894, allocations: 35.7 kB / 1.3 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.327e-05/0.3895, allocations: 12.03 kB / 1.3 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000255/0.3897, allocations: 15.98 kB / 1.3 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.212e-05/0.3898, allocations: 27.95 kB / 1.3 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/0.3898, allocations: 15.98 kB / 1.3 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001844/0.39, allocations: 187.1 kB / 1.3 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.39, allocations: 3.938 kB / 1.3 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005716/0.3906, allocations: 108 kB / 1.3 GB, free: 9.141 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.00164/0.3922, allocations: 1.273 MB / 1.302 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001593/0.3938, allocations: 0.9354 MB / 1.303 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3938, allocations: 4.75 kB / 1.303 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005005/0.3943, allocations: 151.7 kB / 1.303 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000873/0.3952, allocations: 108 kB / 1.303 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008235/0.4034, allocations: 5.037 MB / 1.308 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.4037, allocations: 168.8 kB / 1.308 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002592/0.4039, allocations: 55.45 kB / 1.308 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/0.4041, allocations: 111.4 kB / 1.308 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of SimCode: time 1.563e-06/0.4041, allocations: 0 / 1.308 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03824/0.4424, allocations: 10.99 MB / 1.319 GB, free: 6.176 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.52, allocations: 16.84 kB / 1.319 GB, free: 6.164 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.72780600003898]