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.001837/0.001837, allocations: 104.8 kB / 16.45 MB, free: 6.445 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.002205/0.002205, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.48/1.48, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] 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.832/2.832, allocations: 476.7 MB / 0.7611 GB, free: 15.77 MB / 0.6075 GB " [Timeout remaining time 176] 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.002038/0.002038, allocations: 75.88 kB / 1.104 GB, free: 6.531 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9908/0.9929, allocations: 168.7 MB / 1.269 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002275/0.9951, allocations: 1.303 MB / 1.27 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001947/0.9971, allocations: 1.699 MB / 1.272 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.9972, allocations: 2.531 kB / 1.272 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 6.061e-05/0.9973, allocations: 22.55 kB / 1.272 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002298/0.9975, allocations: 95.31 kB / 1.272 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.9989, allocations: 0.6545 MB / 1.272 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0008756/0.9998, allocations: 0.7453 MB / 1.273 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/1, allocations: 60.16 kB / 1.273 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003473/1, allocations: 300.5 kB / 1.274 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003263/1.001, allocations: 281.9 kB / 1.274 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001367/1.001, allocations: 71.59 kB / 1.274 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001849/1.001, allocations: 89.47 kB / 1.274 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.561e-05/1.001, allocations: 76.33 kB / 1.274 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002549/1.001, allocations: 256.3 kB / 1.274 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007409/1.002, allocations: 0.6989 MB / 1.275 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.002, allocations: 0.7812 kB / 1.275 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.194e-06/1.002, allocations: 0 / 1.275 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.328e-06/1.002, allocations: 0.8438 kB / 1.275 GB, free: 4.141 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.001266/1.003, allocations: 0.8753 MB / 1.276 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/1.003, allocations: 10.03 kB / 1.276 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.893e-05/1.003, allocations: 48.75 kB / 1.276 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/1.004, allocations: 47.91 kB / 1.276 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/1.005, allocations: 464.5 kB / 1.276 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.158e-05/1.005, allocations: 28.7 kB / 1.276 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/1.005, allocations: 49.64 kB / 1.276 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005404/1.006, allocations: 216.6 kB / 1.277 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/1.006, allocations: 0 / 1.277 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/1.006, allocations: 8.797 kB / 1.277 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/1.006, allocations: 3.875 kB / 1.277 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003408/1.006, allocations: 130.9 kB / 1.277 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/1.007, allocations: 0.9522 MB / 1.278 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006529/1.008, allocations: 222 kB / 1.278 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002542/1.008, allocations: 102.4 kB / 1.278 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/1.008, allocations: 3.453 kB / 1.278 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000601/1.009, allocations: 288.8 kB / 1.278 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=37): time 1.522e-06/1.009, allocations: 3.938 kB / 1.278 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37): time 0.001202/1.01, allocations: 463 kB / 1.279 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/1.01, allocations: 118.3 kB / 1.279 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002653/1.01, allocations: 264.4 kB / 1.279 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.634e-05/1.01, allocations: 51.41 kB / 1.279 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/1.011, allocations: 159.4 kB / 1.279 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.084e-05/1.011, allocations: 100.3 kB / 1.279 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002856/1.011, allocations: 152.6 kB / 1.28 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.944e-05/1.011, allocations: 342.6 kB / 1.28 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005147/1.012, allocations: 225.3 kB / 1.28 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005691/1.012, allocations: 394.1 kB / 1.28 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007529/1.013, allocations: 0.5783 MB / 1.281 GB, free: 40 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.013, allocations: 1.031 kB / 1.281 GB, free: 40 kB / 0.9981 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00189/1.015, allocations: 0.853 MB / 1.282 GB, free: 15.6 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001795/1.015, allocations: 184.1 kB / 1.282 GB, free: 15.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/1.015, allocations: 10 kB / 1.282 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.657e-05/1.015, allocations: 3.094 kB / 1.282 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003463/1.015, allocations: 53.5 kB / 1.282 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/1.015, allocations: 10.25 kB / 1.282 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/1.017, allocations: 179.5 kB / 1.282 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/1.017, allocations: 41.38 kB / 1.282 GB, free: 15.36 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.000471/1.017, allocations: 173.7 kB / 1.283 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/1.018, allocations: 36.31 kB / 1.283 GB, free: 15.19 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/1.018, allocations: 40.42 kB / 1.283 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/1.018, allocations: 3.562 kB / 1.283 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.28e-05/1.018, allocations: 3.891 kB / 1.283 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/1.018, allocations: 1.453 kB / 1.283 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002518/1.02, allocations: 0.9271 MB / 1.283 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/1.02, allocations: 6.062 kB / 1.283 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003953/1.021, allocations: 41.86 kB / 1.284 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/1.021, allocations: 3.312 kB / 1.284 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.533e-05/1.021, allocations: 11.25 kB / 1.284 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.613e-06/1.021, allocations: 1.844 kB / 1.284 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/1.021, allocations: 4.734 kB / 1.284 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002033/1.023, allocations: 0.7165 MB / 1.284 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/1.023, allocations: 103.7 kB / 1.284 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.948e-05/1.023, allocations: 7.688 kB / 1.284 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004202/1.023, allocations: 20.12 kB / 1.284 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/1.024, allocations: 29.06 kB / 1.284 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.738e-05/1.024, allocations: 23.78 kB / 1.284 GB, free: 13.93 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003084/1.024, allocations: 181.2 kB / 1.285 GB, free: 13.82 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.024, allocations: 0 / 1.285 GB, free: 13.82 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001089/1.025, allocations: 120.1 kB / 1.285 GB, free: 13.8 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.002656/1.028, allocations: 1.279 MB / 1.286 GB, free: 12.82 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00214/1.03, allocations: 0.7524 MB / 1.287 GB, free: 12.31 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/1.03, allocations: 2.312 kB / 1.287 GB, free: 12.31 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005233/1.03, allocations: 140.6 kB / 1.287 GB, free: 12.27 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/1.032, allocations: 105 kB / 1.287 GB, free: 12.24 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/1.042, allocations: 4.281 MB / 1.291 GB, free: 9.492 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000582/1.043, allocations: 0.7717 MB / 1.292 GB, free: 8.793 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003676/1.043, allocations: 57.94 kB / 1.292 GB, free: 8.773 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002379/1.043, allocations: 109.5 kB / 1.292 GB, free: 8.699 MB / 1.014 GB Notification: Performance of SimCode: time 1.192e-06/1.043, allocations: 2.031 kB / 1.292 GB, free: 8.699 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05069/1.094, allocations: 9.948 MB / 1.302 GB, free: 7.699 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.875/9.969, allocations: 5.25 kB / 1.302 GB, free: 7.699 MB / 1.014 GB " [Timeout remaining time 290] (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_2/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: 16.215368689969182]