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.001929/0.001929, allocations: 114.7 kB / 17.6 MB, free: 4.699 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.00226/0.00226, allocations: 186 kB / 20.78 MB, free: 1.539 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.484/1.484, allocations: 225.6 MB / 249.4 MB, free: 3.164 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.754/2.754, allocations: 476.7 MB / 0.7629 GB, free: 15.23 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.001942/0.001942, allocations: 71.89 kB / 1.107 GB, free: 5.012 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9362/0.9381, allocations: 168.7 MB / 1.272 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002346/0.9405, allocations: 1.309 MB / 1.273 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002108/0.9426, allocations: 1.704 MB / 1.275 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.9427, allocations: 3 kB / 1.275 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 6.559e-05/0.9428, allocations: 21.61 kB / 1.275 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002364/0.943, allocations: 92.34 kB / 1.275 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.9446, allocations: 0.652 MB / 1.275 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001176/0.9458, allocations: 0.75 MB / 1.276 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002236/0.946, allocations: 51.73 kB / 1.276 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004543/0.9465, allocations: 303.9 kB / 1.276 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004648/0.9469, allocations: 281.8 kB / 1.277 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001758/0.9471, allocations: 71.81 kB / 1.277 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002439/0.9474, allocations: 83.73 kB / 1.277 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.777e-05/0.9474, allocations: 76.81 kB / 1.277 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003516/0.9478, allocations: 260.3 kB / 1.277 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009585/0.9488, allocations: 0.699 MB / 1.278 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.9488, allocations: 1.125 kB / 1.278 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.405e-06/0.9488, allocations: 0 / 1.278 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.761e-05/0.9488, allocations: 4 kB / 1.278 GB, free: 4.078 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.001463/0.9502, allocations: 0.8674 MB / 1.279 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.9503, allocations: 9.531 kB / 1.279 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.318e-05/0.9504, allocations: 53.3 kB / 1.279 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.9505, allocations: 52.58 kB / 1.279 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.9519, allocations: 464.2 kB / 1.279 GB, free: 3 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.436e-05/0.9519, allocations: 28.88 kB / 1.279 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.952, allocations: 49.81 kB / 1.279 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000534/0.9525, allocations: 216.1 kB / 1.279 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.9526, allocations: 0 / 1.279 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.994e-05/0.9526, allocations: 9.016 kB / 1.279 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.9526, allocations: 7.312 kB / 1.279 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003721/0.953, allocations: 126.6 kB / 1.28 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.9544, allocations: 0.9482 MB / 1.281 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006846/0.9551, allocations: 222.6 kB / 1.281 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002652/0.9554, allocations: 98.5 kB / 1.281 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.9554, allocations: 4.047 kB / 1.281 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006523/0.9561, allocations: 293 kB / 1.281 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=37): time 1.784e-06/0.9561, allocations: 0 / 1.281 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37): time 0.001173/0.9573, allocations: 455.7 kB / 1.282 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.9573, allocations: 113 kB / 1.282 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.9576, allocations: 267.2 kB / 1.282 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.613e-05/0.9576, allocations: 48.06 kB / 1.282 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.9578, allocations: 163 kB / 1.282 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.089e-05/0.9578, allocations: 108.7 kB / 1.282 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002747/0.9581, allocations: 152.5 kB / 1.282 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.644e-05/0.9582, allocations: 341 kB / 1.283 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005345/0.9587, allocations: 229 kB / 1.283 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005708/0.9593, allocations: 382 kB / 1.283 GB, free: 456 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008055/0.9601, allocations: 0.5872 MB / 1.284 GB, free: 15.98 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.9601, allocations: 1.656 kB / 1.284 GB, free: 15.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001623/0.9618, allocations: 0.8538 MB / 1.285 GB, free: 15.54 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.000148/0.9619, allocations: 186.9 kB / 1.285 GB, free: 15.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.9619, allocations: 7.094 kB / 1.285 GB, free: 15.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.9619, allocations: 6.844 kB / 1.285 GB, free: 15.34 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.9622, allocations: 54.45 kB / 1.285 GB, free: 15.33 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.9622, allocations: 8.391 kB / 1.285 GB, free: 15.33 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009464/0.9631, allocations: 181.8 kB / 1.285 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.925e-05/0.9632, allocations: 43.53 kB / 1.285 GB, free: 15.29 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.0002459/0.9635, allocations: 169.6 kB / 1.285 GB, free: 15.15 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.843e-05/0.9635, allocations: 32.34 kB / 1.285 GB, free: 15.13 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.006e-05/0.9636, allocations: 39.92 kB / 1.285 GB, free: 15.1 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.9636, allocations: 3.578 kB / 1.285 GB, free: 15.1 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.9636, allocations: 2.25 kB / 1.285 GB, free: 15.1 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.9636, allocations: 1.688 kB / 1.285 GB, free: 15.1 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/0.9651, allocations: 0.9372 MB / 1.286 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.9651, allocations: 0 / 1.286 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/0.9653, allocations: 41.2 kB / 1.286 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.9653, allocations: 1.188 kB / 1.286 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.91e-05/0.9654, allocations: 13.09 kB / 1.286 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.9654, allocations: 1.875 kB / 1.286 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.9654, allocations: 1.422 kB / 1.286 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.9667, allocations: 0.7231 MB / 1.287 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.971e-05/0.9668, allocations: 107.4 kB / 1.287 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.973e-05/0.9668, allocations: 9.5 kB / 1.287 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.967, allocations: 15.48 kB / 1.287 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.088e-05/0.9671, allocations: 31.66 kB / 1.287 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-05/0.9671, allocations: 17.03 kB / 1.287 GB, free: 13.88 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002042/0.9674, allocations: 180 kB / 1.287 GB, free: 13.77 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.9674, allocations: 1.188 kB / 1.287 GB, free: 13.77 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006529/0.968, allocations: 117 kB / 1.287 GB, free: 13.75 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.00169/0.9697, allocations: 1.272 MB / 1.289 GB, free: 12.77 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001459/0.9712, allocations: 0.7594 MB / 1.289 GB, free: 12.25 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.9712, allocations: 1.312 kB / 1.289 GB, free: 12.25 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003504/0.9715, allocations: 136.6 kB / 1.29 GB, free: 12.22 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008038/0.9723, allocations: 111.1 kB / 1.29 GB, free: 12.18 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007438/0.9798, allocations: 4.291 MB / 1.294 GB, free: 9.438 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.9802, allocations: 0.7736 MB / 1.295 GB, free: 8.738 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002318/0.9804, allocations: 55.28 kB / 1.295 GB, free: 8.719 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.9806, allocations: 116.6 kB / 1.295 GB, free: 8.641 MB / 1.014 GB Notification: Performance of SimCode: time 8.32e-07/0.9806, allocations: 0 / 1.295 GB, free: 8.641 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04143/1.022, allocations: 9.958 MB / 1.305 GB, free: 7.66 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.996/10.02, allocations: 7.094 kB / 1.305 GB, free: 7.66 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Ramp_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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] [Calling os._exit(0), Time elapsed: 16.13791441899957] Failed to read output from testmodel.py, exit status != 0: 10.094544262974523 10.124663140000001 9.170520968 Calling exit ...