Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.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.001352/0.001352, allocations: 115.6 kB / 17.16 MB, free: 5.895 MB / 14.72 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.001519/0.001519, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 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 1.55/1.55, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.116/3.116, allocations: 0.5003 GB / 0.8026 GB, free: 6.77 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Sources.Validation.Ramp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 63.91 kB / 1.165 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059/1.061, allocations: 178.9 MB / 1.34 GB, free: 16.34 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001889/1.063, allocations: 0.6133 MB / 1.341 GB, free: 15.95 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008744/1.064, allocations: 0.8115 MB / 1.342 GB, free: 15.33 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.548e-05/1.064, allocations: 1.375 kB / 1.342 GB, free: 15.33 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.563e-05/1.064, allocations: 0 / 1.342 GB, free: 15.33 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.884e-05/1.064, allocations: 3.938 kB / 1.342 GB, free: 15.33 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.023e-05/1.064, allocations: 7.125 kB / 1.342 GB, free: 15.32 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.594e-05/1.064, allocations: 21.44 kB / 1.342 GB, free: 15.31 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.821e-05/1.064, allocations: 1.781 kB / 1.342 GB, free: 15.31 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.782e-05/1.064, allocations: 13.22 kB / 1.342 GB, free: 15.3 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.392e-05/1.064, allocations: 4.531 kB / 1.342 GB, free: 15.3 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/1.064, allocations: 1.25 kB / 1.342 GB, free: 15.3 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.901e-06/1.064, allocations: 1.344 kB / 1.342 GB, free: 15.3 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/1.064, allocations: 5.984 kB / 1.342 GB, free: 15.3 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.287e-05/1.064, allocations: 5.953 kB / 1.342 GB, free: 15.3 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 7.437e-05/1.065, allocations: 18.72 kB / 1.342 GB, free: 15.29 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/1.065, allocations: 0 / 1.342 GB, free: 15.29 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.323e-06/1.065, allocations: 4 kB / 1.342 GB, free: 15.29 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.969e-06/1.065, allocations: 0 / 1.342 GB, free: 15.29 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003748/1.065, allocations: 336.7 kB / 1.342 GB, free: 14.93 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/1.065, allocations: 13.56 kB / 1.342 GB, free: 14.92 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.626e-05/1.065, allocations: 1.156 kB / 1.342 GB, free: 14.92 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.737e-05/1.065, allocations: 30.75 kB / 1.342 GB, free: 14.88 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.051e-05/1.065, allocations: 2.703 kB / 1.342 GB, free: 14.88 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.426e-05/1.065, allocations: 166.9 kB / 1.342 GB, free: 14.68 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.492e-06/1.065, allocations: 9.344 kB / 1.342 GB, free: 14.68 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/1.065, allocations: 1.438 kB / 1.342 GB, free: 14.68 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/1.065, allocations: 49.12 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/1.065, allocations: 0 / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/1.065, allocations: 0 / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/1.065, allocations: 1.125 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/1.065, allocations: 25.88 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001203/1.066, allocations: 156.2 kB / 1.342 GB, free: 14.44 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/1.066, allocations: 37.64 kB / 1.342 GB, free: 14.41 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.084e-05/1.066, allocations: 21.14 kB / 1.342 GB, free: 14.4 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/1.066, allocations: 1.062 kB / 1.342 GB, free: 14.4 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.26e-05/1.066, allocations: 35.11 kB / 1.342 GB, free: 14.36 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/1.066, allocations: 9 kB / 1.343 GB, free: 14.35 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.000332/1.066, allocations: 74.55 kB / 1.343 GB, free: 14.31 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/1.066, allocations: 53.16 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.216e-05/1.066, allocations: 95.8 kB / 1.343 GB, free: 14.15 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.275e-06/1.066, allocations: 27.44 kB / 1.343 GB, free: 14.12 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.943e-05/1.066, allocations: 85.17 kB / 1.343 GB, free: 14.03 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/1.066, allocations: 8.672 kB / 1.343 GB, free: 14.02 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-05/1.066, allocations: 11.78 kB / 1.343 GB, free: 14.01 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.896e-05/1.066, allocations: 312.9 kB / 1.343 GB, free: 13.7 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.345e-05/1.066, allocations: 16.91 kB / 1.343 GB, free: 13.69 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.337e-05/1.066, allocations: 13.45 kB / 1.343 GB, free: 13.69 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/1.067, allocations: 39.17 kB / 1.343 GB, free: 13.68 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.067, allocations: 0 / 1.343 GB, free: 13.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001863/1.067, allocations: 63.81 kB / 1.343 GB, free: 13.64 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/1.067, allocations: 11.59 kB / 1.343 GB, free: 13.63 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/1.067, allocations: 0 / 1.343 GB, free: 13.63 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/1.067, allocations: 2.094 kB / 1.343 GB, free: 13.63 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.433e-05/1.067, allocations: 6.953 kB / 1.343 GB, free: 13.63 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/1.067, allocations: 3.938 kB / 1.343 GB, free: 13.63 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.886e-05/1.067, allocations: 18.75 kB / 1.343 GB, free: 13.62 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/1.067, allocations: 3.984 kB / 1.343 GB, free: 13.61 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 4.659e-05/1.067, allocations: 108 kB / 1.343 GB, free: 13.5 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-06/1.067, allocations: 5.219 kB / 1.343 GB, free: 13.5 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.95e-05/1.067, allocations: 9.625 kB / 1.343 GB, free: 13.49 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/1.067, allocations: 0.5625 kB / 1.343 GB, free: 13.49 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/1.067, allocations: 0 / 1.343 GB, free: 13.49 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/1.067, allocations: 0 / 1.343 GB, free: 13.49 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.588e-05/1.067, allocations: 153.7 kB / 1.344 GB, free: 13.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/1.067, allocations: 1 kB / 1.344 GB, free: 13.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.292e-05/1.067, allocations: 7.484 kB / 1.344 GB, free: 13.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/1.067, allocations: 3.938 kB / 1.344 GB, free: 13.29 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/1.067, allocations: 1.031 kB / 1.344 GB, free: 13.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/1.067, allocations: 0.7031 kB / 1.344 GB, free: 13.29 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.067, allocations: 1.312 kB / 1.344 GB, free: 13.29 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/1.067, allocations: 88.19 kB / 1.344 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2e-05/1.067, allocations: 83.06 kB / 1.344 GB, free: 13.12 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/1.067, allocations: 4.641 kB / 1.344 GB, free: 13.12 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.324e-05/1.067, allocations: 5.969 kB / 1.344 GB, free: 13.12 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/1.068, allocations: 2.203 kB / 1.344 GB, free: 13.12 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-06/1.068, allocations: 0 / 1.344 GB, free: 13.12 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.322e-05/1.068, allocations: 80.72 kB / 1.344 GB, free: 13.04 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.068, allocations: 0 / 1.344 GB, free: 13.04 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001757/1.068, allocations: 14.66 kB / 1.344 GB, free: 13.03 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003803/1.068, allocations: 0.6147 MB / 1.344 GB, free: 12.43 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002112/1.068, allocations: 39.72 kB / 1.345 GB, free: 12.42 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/1.068, allocations: 0 / 1.345 GB, free: 12.42 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.185e-05/1.068, allocations: 14.36 kB / 1.345 GB, free: 12.42 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/1.069, allocations: 6.766 kB / 1.345 GB, free: 12.42 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003207/1.069, allocations: 137.4 kB / 1.345 GB, free: 12.27 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.65e-05/1.069, allocations: 0.6781 MB / 1.345 GB, free: 11.57 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.905e-05/1.069, allocations: 1.312 kB / 1.345 GB, free: 11.57 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/1.069, allocations: 8.234 kB / 1.345 GB, free: 11.56 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/1.069, allocations: 1.844 kB / 1.345 GB, free: 11.56 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01613/1.085, allocations: 1.266 MB / 1.347 GB, free: 11.2 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.259/9.344, allocations: 19.31 kB / 1.347 GB, free: 11.18 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.187620216980577] Failed to read output from testmodel.py, exit status != 0: 9.477494160004426 9.490214656 8.423168013 Calling exit ...