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.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.001154/0.001154, allocations: 106.8 kB / 17.54 MB, free: 4.746 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.001137/0.001137, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.318/1.318, allocations: 225.6 MB / 249.3 MB, free: 3.219 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.519/2.519, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 71.89 kB / 1.107 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7966/0.7985, allocations: 168.7 MB / 1.271 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002135/0.8006, allocations: 1.31 MB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001745/0.8024, allocations: 1.703 MB / 1.274 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.27e-05/0.8024, allocations: 2.75 kB / 1.274 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.938e-05/0.8025, allocations: 23.62 kB / 1.274 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001816/0.8027, allocations: 93.47 kB / 1.275 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.8038, allocations: 0.6504 MB / 1.275 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006534/0.8045, allocations: 0.7492 MB / 1.276 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.8046, allocations: 53.67 kB / 1.276 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002573/0.8049, allocations: 300.3 kB / 1.276 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003321/0.8052, allocations: 278.2 kB / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.8053, allocations: 71.44 kB / 1.277 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.8055, allocations: 91.31 kB / 1.277 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.583e-05/0.8055, allocations: 69.55 kB / 1.277 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002328/0.8058, allocations: 265.5 kB / 1.277 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006084/0.8064, allocations: 0.6971 MB / 1.278 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.8064, allocations: 0.7969 kB / 1.278 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.8064, allocations: 0.6562 kB / 1.278 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.8064, allocations: 0 / 1.278 GB, free: 3.945 MB / 0.9981 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.001106/0.8075, allocations: 0.8711 MB / 1.278 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.8075, allocations: 9.281 kB / 1.278 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.088e-05/0.8076, allocations: 49.44 kB / 1.279 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.8077, allocations: 53.8 kB / 1.279 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/0.809, allocations: 463 kB / 1.279 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.517e-05/0.809, allocations: 30.06 kB / 1.279 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-05/0.8091, allocations: 48.28 kB / 1.279 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004261/0.8095, allocations: 220.1 kB / 1.279 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.8095, allocations: 1.031 kB / 1.279 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.8096, allocations: 11.77 kB / 1.279 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.8096, allocations: 3.969 kB / 1.279 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003207/0.8099, allocations: 126.8 kB / 1.279 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.811, allocations: 0.9481 MB / 1.28 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006275/0.8116, allocations: 225.8 kB / 1.281 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002511/0.8118, allocations: 99.48 kB / 1.281 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.8119, allocations: 4.016 kB / 1.281 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005027/0.8124, allocations: 292.5 kB / 1.281 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=37): time 1.522e-06/0.8124, allocations: 3.938 kB / 1.281 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37): time 0.001019/0.8134, allocations: 454.4 kB / 1.281 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.8134, allocations: 113.4 kB / 1.282 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.8136, allocations: 268.6 kB / 1.282 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.308e-05/0.8137, allocations: 51.39 kB / 1.282 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.8138, allocations: 153.9 kB / 1.282 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.035e-05/0.8139, allocations: 110.8 kB / 1.282 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/0.8141, allocations: 150.7 kB / 1.282 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.834e-05/0.8142, allocations: 344.6 kB / 1.283 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004976/0.8146, allocations: 226.3 kB / 1.283 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005318/0.8152, allocations: 389.3 kB / 1.283 GB, free: 304 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000802/0.816, allocations: 0.5771 MB / 1.284 GB, free: 15.84 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.816, allocations: 0 / 1.284 GB, free: 15.84 MB / 1.014 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001481/0.8175, allocations: 0.8528 MB / 1.285 GB, free: 15.4 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001157/0.8176, allocations: 183.8 kB / 1.285 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.8176, allocations: 7.219 kB / 1.285 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.8176, allocations: 7.625 kB / 1.285 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.8178, allocations: 51.55 kB / 1.285 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.8178, allocations: 11.67 kB / 1.285 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009114/0.8188, allocations: 187.5 kB / 1.285 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.746e-05/0.8188, allocations: 39.81 kB / 1.285 GB, free: 15.16 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.0001951/0.819, allocations: 170.2 kB / 1.285 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.856e-05/0.8191, allocations: 35.55 kB / 1.285 GB, free: 14.99 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.88e-05/0.8191, allocations: 41.36 kB / 1.285 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.8191, allocations: 3.688 kB / 1.285 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.8192, allocations: 1.875 kB / 1.285 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.8192, allocations: 1.734 kB / 1.285 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.8204, allocations: 0.919 MB / 1.286 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.8204, allocations: 5.281 kB / 1.286 GB, free: 14.33 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/0.8207, allocations: 46.7 kB / 1.286 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.8207, allocations: 6.344 kB / 1.286 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.71e-05/0.8207, allocations: 11.34 kB / 1.286 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.8207, allocations: 2.453 kB / 1.286 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.8207, allocations: 1.938 kB / 1.286 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.8218, allocations: 0.7233 MB / 1.287 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.921e-05/0.8219, allocations: 102.8 kB / 1.287 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/0.8219, allocations: 8.953 kB / 1.287 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.8222, allocations: 19 kB / 1.287 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.577e-05/0.8222, allocations: 29.48 kB / 1.287 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.8223, allocations: 23.31 kB / 1.287 GB, free: 13.74 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001596/0.8224, allocations: 176.5 kB / 1.287 GB, free: 13.63 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8224, allocations: 0 / 1.287 GB, free: 13.63 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004819/0.8229, allocations: 118.1 kB / 1.287 GB, free: 13.61 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.001446/0.8243, allocations: 1.279 MB / 1.289 GB, free: 12.63 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001208/0.8255, allocations: 0.7484 MB / 1.289 GB, free: 12.12 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.8255, allocations: 0.75 kB / 1.289 GB, free: 12.12 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003213/0.8259, allocations: 144.2 kB / 1.289 GB, free: 12.08 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000731/0.8266, allocations: 111.1 kB / 1.29 GB, free: 12.04 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005867/0.8325, allocations: 4.275 MB / 1.294 GB, free: 9.301 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.8328, allocations: 0.7727 MB / 1.295 GB, free: 8.598 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001808/0.833, allocations: 49.69 kB / 1.295 GB, free: 8.582 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.8332, allocations: 114.1 kB / 1.295 GB, free: 8.508 MB / 1.014 GB Notification: Performance of SimCode: time 3.51e-07/0.8332, allocations: 0 / 1.295 GB, free: 8.508 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03653/0.8697, allocations: 9.961 MB / 1.304 GB, free: 7.527 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.267/8.136, allocations: 5.312 kB / 1.304 GB, free: 7.523 MB / 1.014 GB " [Timeout remaining time 292] (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 --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: 13.522553953999704]