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.001624/0.001624, allocations: 101.5 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.002545/0.002545, allocations: 218.9 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.585/1.585, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.451/3.451, allocations: 0.5003 GB / 0.8061 GB, free: 26.73 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="Buildings_latest_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.002042/0.002042, allocations: 65.45 kB / 1.171 GB, free: 19.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.4161, allocations: 179 MB / 1.345 GB, free: 348 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002555/0.4186, allocations: 1.294 MB / 1.347 GB, free: 15.04 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002402/0.421, allocations: 1.736 MB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.4211, allocations: 0 / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 7.568e-05/0.4212, allocations: 27.61 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002216/0.4214, allocations: 87.36 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.4229, allocations: 0.6458 MB / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0008106/0.4237, allocations: 0.7603 MB / 1.35 GB, free: 11.79 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.4239, allocations: 60.62 kB / 1.35 GB, free: 11.73 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003585/0.4242, allocations: 303.4 kB / 1.35 GB, free: 11.43 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003934/0.4246, allocations: 279.1 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.4247, allocations: 72 kB / 1.351 GB, free: 11.09 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.4249, allocations: 87.98 kB / 1.351 GB, free: 11 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.17e-05/0.425, allocations: 75.69 kB / 1.351 GB, free: 10.93 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003354/0.4253, allocations: 267.1 kB / 1.351 GB, free: 10.66 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007411/0.426, allocations: 0.6856 MB / 1.352 GB, free: 9.977 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.426, allocations: 3.938 kB / 1.352 GB, free: 9.973 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.933e-06/0.426, allocations: 4 kB / 1.352 GB, free: 9.969 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.426, allocations: 0 / 1.352 GB, free: 9.969 MB / 1.045 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.001616/0.4277, allocations: 0.8692 MB / 1.352 GB, free: 9.016 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.4277, allocations: 12.03 kB / 1.352 GB, free: 9.004 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.074e-05/0.4277, allocations: 4.188 kB / 1.352 GB, free: 9 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.54e-05/0.4278, allocations: 50.73 kB / 1.353 GB, free: 8.941 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.428, allocations: 48.75 kB / 1.353 GB, free: 8.895 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001446/0.4294, allocations: 404.9 kB / 1.353 GB, free: 8.477 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.473e-05/0.4294, allocations: 32.36 kB / 1.353 GB, free: 8.445 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.927e-05/0.4295, allocations: 40.38 kB / 1.353 GB, free: 8.406 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004983/0.43, allocations: 216.2 kB / 1.353 GB, free: 8.18 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.4301, allocations: 3.938 kB / 1.353 GB, free: 8.176 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.4301, allocations: 8 kB / 1.353 GB, free: 8.168 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.4301, allocations: 8 kB / 1.353 GB, free: 8.16 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003638/0.4304, allocations: 122.6 kB / 1.353 GB, free: 8.043 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.4318, allocations: 0.9248 MB / 1.354 GB, free: 7.066 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000706/0.4325, allocations: 220.2 kB / 1.354 GB, free: 6.824 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002808/0.4328, allocations: 114.3 kB / 1.355 GB, free: 6.703 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.4328, allocations: 4 kB / 1.355 GB, free: 6.699 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006821/0.4335, allocations: 293.3 kB / 1.355 GB, free: 6.391 MB / 1.045 GB Notification: Performance of pre-optimization done (n=37): time 1.854e-06/0.4335, allocations: 0 / 1.355 GB, free: 6.391 MB / 1.045 GB Notification: Performance of matching and sorting (n=37): time 0.001232/0.4347, allocations: 457.9 kB / 1.355 GB, free: 5.938 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.373e-05/0.4348, allocations: 114.8 kB / 1.355 GB, free: 5.801 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002995/0.4351, allocations: 272.1 kB / 1.356 GB, free: 5.523 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 9.836e-05/0.4352, allocations: 45.7 kB / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.4354, allocations: 165 kB / 1.356 GB, free: 5.309 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.4355, allocations: 99.22 kB / 1.356 GB, free: 5.211 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003122/0.4358, allocations: 150 kB / 1.356 GB, free: 5.055 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.436, allocations: 346.8 kB / 1.356 GB, free: 4.707 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005878/0.4366, allocations: 220.8 kB / 1.357 GB, free: 4.488 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007308/0.4373, allocations: 392.3 kB / 1.357 GB, free: 4.035 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.4383, allocations: 0.5751 MB / 1.358 GB, free: 3.383 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.4383, allocations: 0 / 1.358 GB, free: 3.383 MB / 1.045 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001736/0.4401, allocations: 0.8544 MB / 1.358 GB, free: 2.484 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001613/0.4402, allocations: 192 kB / 1.359 GB, free: 2.262 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.4403, allocations: 3.938 kB / 1.359 GB, free: 2.258 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.755e-05/0.4403, allocations: 8.375 kB / 1.359 GB, free: 2.25 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.4405, allocations: 59.89 kB / 1.359 GB, free: 2.191 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/0.4406, allocations: 7.938 kB / 1.359 GB, free: 2.184 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009824/0.4415, allocations: 175.6 kB / 1.359 GB, free: 2.012 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-05/0.4416, allocations: 47.95 kB / 1.359 GB, free: 1.965 MB / 1.045 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.000264/0.4419, allocations: 163.5 kB / 1.359 GB, free: 1.793 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.474e-05/0.442, allocations: 47.69 kB / 1.359 GB, free: 1.746 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.531e-05/0.442, allocations: 29.81 kB / 1.359 GB, free: 1.715 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.442, allocations: 4 kB / 1.359 GB, free: 1.711 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.442, allocations: 0 / 1.359 GB, free: 1.711 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.4421, allocations: 7.984 kB / 1.359 GB, free: 1.703 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/0.4435, allocations: 0.8981 MB / 1.36 GB, free: 0.75 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4435, allocations: 0 / 1.36 GB, free: 0.75 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002373/0.4438, allocations: 47.91 kB / 1.36 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.4438, allocations: 0 / 1.36 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/0.4438, allocations: 11.98 kB / 1.36 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.4438, allocations: 4 kB / 1.36 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4438, allocations: 0 / 1.36 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/0.4451, allocations: 0.72 MB / 1.361 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.131e-05/0.4452, allocations: 27.81 kB / 1.361 GB, free: 15.92 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.073e-05/0.4452, allocations: 12.03 kB / 1.361 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.4455, allocations: 12.17 kB / 1.361 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.518e-05/0.4456, allocations: 31.95 kB / 1.361 GB, free: 15.86 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.4456, allocations: 23.92 kB / 1.361 GB, free: 15.84 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002152/0.4458, allocations: 187 kB / 1.361 GB, free: 15.66 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4458, allocations: 0 / 1.361 GB, free: 15.66 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006743/0.4465, allocations: 115.9 kB / 1.361 GB, free: 15.54 MB / 1.061 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.001728/0.4482, allocations: 1.263 MB / 1.362 GB, free: 14.25 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001522/0.4497, allocations: 0.7543 MB / 1.363 GB, free: 13.43 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4498, allocations: 0 / 1.363 GB, free: 13.43 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004081/0.4502, allocations: 135.8 kB / 1.363 GB, free: 13.29 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008847/0.451, allocations: 119.8 kB / 1.363 GB, free: 13.18 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007277/0.4583, allocations: 4.262 MB / 1.368 GB, free: 8.711 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004422/0.4588, allocations: 0.7765 MB / 1.368 GB, free: 7.91 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002688/0.459, allocations: 55.44 kB / 1.368 GB, free: 7.855 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002184/0.4593, allocations: 123.4 kB / 1.368 GB, free: 7.734 MB / 1.061 GB Notification: Performance of SimCode: time 2.124e-06/0.4593, allocations: 0 / 1.368 GB, free: 7.734 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03957/0.4988, allocations: 10.28 MB / 1.379 GB, free: 13.7 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.29, allocations: 6.406 kB / 1.379 GB, free: 13.7 MB / 1.076 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.8864541130024]