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.00166/0.00166, allocations: 109.2 kB / 16.4 MB, free: 6.508 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.001829/0.001829, allocations: 192.5 kB / 19.35 MB, free: 3.734 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.489/1.489, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.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.924/2.924, allocations: 469.8 MB / 0.7491 GB, free: 3.004 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.002001/0.002001, allocations: 75.88 kB / 1.073 GB, free: 80 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.739/0.741, allocations: 159.1 MB / 1.229 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.003029/0.7441, allocations: 1.296 MB / 1.23 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002584/0.7467, allocations: 1.697 MB / 1.232 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.7469, allocations: 0 / 1.232 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 8.756e-05/0.747, allocations: 27.61 kB / 1.232 GB, free: 1.773 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002422/0.7473, allocations: 71.36 kB / 1.232 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.7491, allocations: 0.6598 MB / 1.232 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001009/0.7501, allocations: 0.7877 MB / 1.233 GB, free: 276 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/0.7503, allocations: 77.22 kB / 1.233 GB, free: 196 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003785/0.7507, allocations: 295.3 kB / 1.233 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005001/0.7512, allocations: 275.1 kB / 1.234 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000136/0.7514, allocations: 72 kB / 1.234 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001834/0.7516, allocations: 87.98 kB / 1.234 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.004e-05/0.7516, allocations: 75.67 kB / 1.234 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003228/0.752, allocations: 271 kB / 1.234 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008532/0.7528, allocations: 0.6949 MB / 1.235 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.7529, allocations: 4 kB / 1.235 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.464e-06/0.7529, allocations: 0 / 1.235 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.7529, allocations: 0 / 1.235 GB, free: 14.44 MB / 0.9512 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.001565/0.7545, allocations: 0.867 MB / 1.236 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.7545, allocations: 12.03 kB / 1.236 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.708e-05/0.7546, allocations: 54.66 kB / 1.236 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.7547, allocations: 48.75 kB / 1.236 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/0.7563, allocations: 467.4 kB / 1.236 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.47e-05/0.7563, allocations: 36.36 kB / 1.236 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.333e-05/0.7564, allocations: 40.38 kB / 1.236 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004889/0.7569, allocations: 222.2 kB / 1.237 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.7569, allocations: 0 / 1.237 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.757, allocations: 4 kB / 1.237 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.757, allocations: 4 kB / 1.237 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003481/0.7573, allocations: 131.2 kB / 1.237 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.7587, allocations: 0.9532 MB / 1.238 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007872/0.7595, allocations: 228.1 kB / 1.238 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000275/0.7598, allocations: 102.5 kB / 1.238 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.7598, allocations: 15.98 kB / 1.238 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006035/0.7605, allocations: 285.7 kB / 1.238 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=37): time 1.623e-06/0.7605, allocations: 0 / 1.238 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of matching and sorting (n=37): time 0.001206/0.7617, allocations: 461 kB / 1.239 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.155e-05/0.7618, allocations: 110.8 kB / 1.239 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/0.7621, allocations: 266.9 kB / 1.239 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.854e-05/0.7622, allocations: 49.69 kB / 1.239 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.7623, allocations: 165 kB / 1.239 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.481e-05/0.7625, allocations: 99.22 kB / 1.239 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003126/0.7628, allocations: 150 kB / 1.24 GB, free: 9.41 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.763, allocations: 346.8 kB / 1.24 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005786/0.7636, allocations: 220.8 kB / 1.24 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009177/0.7645, allocations: 392.6 kB / 1.24 GB, free: 8.398 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.7655, allocations: 0.5779 MB / 1.241 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.7655, allocations: 0 / 1.241 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001675/0.7672, allocations: 0.8425 MB / 1.242 GB, free: 6.859 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001427/0.7674, allocations: 190.4 kB / 1.242 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.7674, allocations: 11.88 kB / 1.242 GB, free: 6.625 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.7674, allocations: 7.938 kB / 1.242 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.7676, allocations: 51.89 kB / 1.242 GB, free: 6.566 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.7677, allocations: 8 kB / 1.242 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009498/0.7686, allocations: 175.6 kB / 1.242 GB, free: 6.387 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.973e-05/0.7687, allocations: 47.95 kB / 1.242 GB, free: 6.34 MB / 0.9512 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.000262/0.769, allocations: 171.5 kB / 1.242 GB, free: 6.164 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.882e-05/0.7691, allocations: 39.75 kB / 1.242 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.879e-05/0.7691, allocations: 37.81 kB / 1.243 GB, free: 6.086 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.7692, allocations: 4 kB / 1.243 GB, free: 6.082 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.7692, allocations: 0 / 1.243 GB, free: 6.082 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.7692, allocations: 7.922 kB / 1.243 GB, free: 6.074 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/0.7707, allocations: 0.9263 MB / 1.243 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.7708, allocations: 0 / 1.243 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.771, allocations: 35.97 kB / 1.243 GB, free: 5.051 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.771, allocations: 4 kB / 1.243 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/0.771, allocations: 15.98 kB / 1.243 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.922e-06/0.771, allocations: 11.94 kB / 1.244 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/0.7711, allocations: 4 kB / 1.244 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.7723, allocations: 0.7109 MB / 1.244 GB, free: 4.289 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.949e-05/0.7724, allocations: 100.9 kB / 1.244 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.825e-05/0.7725, allocations: 16.03 kB / 1.244 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.7727, allocations: 15.98 kB / 1.244 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.511e-05/0.7728, allocations: 27.91 kB / 1.244 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.7728, allocations: 19.98 kB / 1.244 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001856/0.773, allocations: 186 kB / 1.245 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.773, allocations: 0 / 1.245 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005096/0.7735, allocations: 119.9 kB / 1.245 GB, free: 3.793 MB / 0.9512 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.001817/0.7753, allocations: 1.265 MB / 1.246 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001452/0.7768, allocations: 0.8464 MB / 1.247 GB, free: 1.582 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.7768, allocations: 0 / 1.247 GB, free: 1.582 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003594/0.7772, allocations: 160.3 kB / 1.247 GB, free: 1.426 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007921/0.778, allocations: 117.5 kB / 1.247 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006716/0.7847, allocations: 4.247 MB / 1.251 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004709/0.7852, allocations: 0.7767 MB / 1.252 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002059/0.7854, allocations: 59.44 kB / 1.252 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.7856, allocations: 115.4 kB / 1.252 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of SimCode: time 4.21e-07/0.7856, allocations: 0 / 1.252 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03545/0.821, allocations: 9.899 MB / 1.262 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.885/9.706, allocations: 7.922 kB / 1.262 GB, free: 2.148 MB / 0.9669 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] [Calling os._exit(0), Time elapsed: 15.870915984967723] Failed to read output from testmodel.py, exit status != 0: 9.778942053904757 9.797296837 9.039949041 Calling exit ...