Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001271/0.001271, allocations: 100.3 kB / 19.72 MB, free: 428 kB / 13.93 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.001267/0.001267, allocations: 214.8 kB / 23.02 MB, free: 2.973 MB / 13.93 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 0.9738/0.9738, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.006/2.006, allocations: 0.5046 GB / 0.8104 GB, free: 2.719 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009713/0.0009713, allocations: 67.91 kB / 1.177 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7143/0.7153, allocations: 180 MB / 1.353 GB, free: 1.625 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002011/0.7173, allocations: 1.193 MB / 1.354 GB, free: 440 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.7189, allocations: 1.705 MB / 1.355 GB, free: 14.71 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.119e-05/0.719, allocations: 4 kB / 1.355 GB, free: 14.71 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 4.898e-05/0.7191, allocations: 23.67 kB / 1.355 GB, free: 14.68 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.7192, allocations: 99.33 kB / 1.355 GB, free: 14.59 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009273/0.7201, allocations: 0.6493 MB / 1.356 GB, free: 13.95 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0005082/0.7207, allocations: 0.7525 MB / 1.357 GB, free: 13.2 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.7208, allocations: 52.69 kB / 1.357 GB, free: 13.15 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002036/0.721, allocations: 299.3 kB / 1.357 GB, free: 12.86 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.7212, allocations: 247.1 kB / 1.357 GB, free: 12.61 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 6.825e-05/0.7213, allocations: 72 kB / 1.357 GB, free: 12.54 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.7214, allocations: 79.98 kB / 1.358 GB, free: 12.46 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 4.754e-05/0.7215, allocations: 83.64 kB / 1.358 GB, free: 12.38 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.7216, allocations: 235.3 kB / 1.358 GB, free: 12.15 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004335/0.7221, allocations: 0.707 MB / 1.359 GB, free: 11.45 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.7221, allocations: 0 / 1.359 GB, free: 11.45 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.944e-06/0.7221, allocations: 0 / 1.359 GB, free: 11.45 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.7221, allocations: 0 / 1.359 GB, free: 11.45 MB / 1.042 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.0009315/0.723, allocations: 0.8653 MB / 1.359 GB, free: 10.5 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.723, allocations: 12.92 kB / 1.359 GB, free: 10.48 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.939e-05/0.7231, allocations: 54.72 kB / 1.359 GB, free: 10.42 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.533e-05/0.7232, allocations: 44.75 kB / 1.359 GB, free: 10.38 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008555/0.724, allocations: 408.9 kB / 1.36 GB, free: 9.953 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/0.7241, allocations: 24.38 kB / 1.36 GB, free: 9.93 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.293e-05/0.7241, allocations: 48.36 kB / 1.36 GB, free: 9.883 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000291/0.7244, allocations: 221.7 kB / 1.36 GB, free: 9.652 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.7244, allocations: 0 / 1.36 GB, free: 9.652 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.7244, allocations: 11.98 kB / 1.36 GB, free: 9.641 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.7244, allocations: 8 kB / 1.36 GB, free: 9.633 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.7246, allocations: 119.9 kB / 1.36 GB, free: 9.516 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007826/0.7254, allocations: 0.8198 MB / 1.361 GB, free: 8.645 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003891/0.7258, allocations: 220.1 kB / 1.361 GB, free: 8.402 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.7259, allocations: 94.52 kB / 1.361 GB, free: 8.301 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.726, allocations: 8 kB / 1.361 GB, free: 8.293 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003492/0.7263, allocations: 289.4 kB / 1.362 GB, free: 7.988 MB / 1.042 GB Notification: Performance of pre-optimization done (n=37): time 1.192e-06/0.7263, allocations: 0 / 1.362 GB, free: 7.988 MB / 1.042 GB Notification: Performance of matching and sorting (n=37): time 0.0006647/0.727, allocations: 465.1 kB / 1.362 GB, free: 7.527 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.727, allocations: 122.7 kB / 1.362 GB, free: 7.383 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.7272, allocations: 260.2 kB / 1.362 GB, free: 7.121 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 5.002e-05/0.7272, allocations: 49.7 kB / 1.363 GB, free: 7.066 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 9.136e-05/0.7273, allocations: 157 kB / 1.363 GB, free: 6.91 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 6.164e-05/0.7274, allocations: 111.2 kB / 1.363 GB, free: 6.801 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.7276, allocations: 154 kB / 1.363 GB, free: 6.645 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.313e-05/0.7276, allocations: 342.8 kB / 1.363 GB, free: 6.301 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004008/0.728, allocations: 415 kB / 1.364 GB, free: 5.859 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005037/0.7286, allocations: 0.7618 MB / 1.364 GB, free: 4.945 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00052/0.7291, allocations: 0.5737 MB / 1.365 GB, free: 4.293 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.7291, allocations: 4 kB / 1.365 GB, free: 4.289 MB / 1.042 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009866/0.7301, allocations: 1.037 MB / 1.366 GB, free: 3.176 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 7.76e-05/0.7301, allocations: 182.3 kB / 1.366 GB, free: 2.961 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.7301, allocations: 11.88 kB / 1.366 GB, free: 2.949 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.7302, allocations: 7.984 kB / 1.366 GB, free: 2.941 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.7303, allocations: 55.84 kB / 1.366 GB, free: 2.887 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.7303, allocations: 4.078 kB / 1.366 GB, free: 2.883 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004975/0.7308, allocations: 187.7 kB / 1.366 GB, free: 2.699 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.528e-05/0.7308, allocations: 47.95 kB / 1.366 GB, free: 2.652 MB / 1.042 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.000138/0.731, allocations: 179.9 kB / 1.367 GB, free: 2.469 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.731, allocations: 31.81 kB / 1.367 GB, free: 2.438 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.577e-05/0.7311, allocations: 33.73 kB / 1.367 GB, free: 2.402 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.7311, allocations: 11.98 kB / 1.367 GB, free: 2.391 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.7311, allocations: 0 / 1.367 GB, free: 2.391 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.7311, allocations: 0 / 1.367 GB, free: 2.391 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007765/0.7318, allocations: 0.8661 MB / 1.368 GB, free: 1.473 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.7318, allocations: 0 / 1.368 GB, free: 1.473 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.732, allocations: 47.84 kB / 1.368 GB, free: 1.426 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.732, allocations: 4 kB / 1.368 GB, free: 1.422 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.732, allocations: 11.98 kB / 1.368 GB, free: 1.41 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.732, allocations: 8 kB / 1.368 GB, free: 1.402 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.732, allocations: 0 / 1.368 GB, free: 1.402 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006546/0.7326, allocations: 0.714 MB / 1.368 GB, free: 0.6719 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.519e-05/0.7327, allocations: 31.75 kB / 1.368 GB, free: 0.6406 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.7327, allocations: 8 kB / 1.368 GB, free: 0.6328 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.7328, allocations: 15.98 kB / 1.368 GB, free: 0.6172 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.7329, allocations: 35.94 kB / 1.368 GB, free: 0.582 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.7329, allocations: 19.98 kB / 1.368 GB, free: 0.5625 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001028/0.733, allocations: 179.1 kB / 1.369 GB, free: 396 kB / 1.042 GB Notification: Performance of sort global known variables: time 7.1e-08/0.733, allocations: 0 / 1.369 GB, free: 396 kB / 1.042 GB Notification: Performance of remove unused functions: time 0.0003311/0.7333, allocations: 115.9 kB / 1.369 GB, free: 280 kB / 1.042 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.0008873/0.7342, allocations: 1.276 MB / 1.37 GB, free: 14.97 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0008026/0.735, allocations: 0.9401 MB / 1.371 GB, free: 13.92 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.735, allocations: 384 / 1.371 GB, free: 13.92 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.7352, allocations: 138.3 kB / 1.371 GB, free: 13.79 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/0.7357, allocations: 113 kB / 1.371 GB, free: 13.67 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004253/0.7399, allocations: 5.025 MB / 1.376 GB, free: 8.285 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.74, allocations: 168.8 kB / 1.376 GB, free: 8.098 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0001257/0.7402, allocations: 59.45 kB / 1.376 GB, free: 8.039 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.7403, allocations: 115.4 kB / 1.376 GB, free: 7.926 MB / 1.057 GB Notification: Performance of SimCode: time 8.51e-07/0.7403, allocations: 0 / 1.376 GB, free: 7.926 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08561/0.8259, allocations: 11.43 MB / 1.387 GB, free: 12.82 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.48/8.306, allocations: 8.062 kB / 1.388 GB, free: 12.81 MB / 1.073 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_fmpy_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Ramp.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.191270071081817]