Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001722/0.001722, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002539/0.002539, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.568/1.568, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.903/2.903, allocations: 476.7 MB / 0.7678 GB, free: 9.348 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Sources.Validation.Ramp,fileNamePrefix="Buildings_11_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_11_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.001979/0.001979, allocations: 67.84 kB / 1.113 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9284/0.9304, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001993/0.9324, allocations: 0.5974 MB / 1.28 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.9335, allocations: 0.8235 MB / 1.28 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.048e-05/0.9335, allocations: 1.125 kB / 1.28 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.318e-05/0.9335, allocations: 3.938 kB / 1.28 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.206e-05/0.9336, allocations: 1.094 kB / 1.28 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.091e-05/0.9336, allocations: 2.062 kB / 1.28 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.555e-05/0.9337, allocations: 22.48 kB / 1.28 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.089e-05/0.9338, allocations: 1.969 kB / 1.28 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.14e-05/0.9338, allocations: 8.734 kB / 1.28 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.653e-05/0.9339, allocations: 8.297 kB / 1.28 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.9339, allocations: 1.844 kB / 1.28 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.402e-06/0.9339, allocations: 4.781 kB / 1.28 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.272e-05/0.9339, allocations: 1.688 kB / 1.28 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.829e-05/0.9339, allocations: 14.19 kB / 1.28 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 7.39e-05/0.934, allocations: 14 kB / 1.28 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.934, allocations: 0 / 1.28 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.854e-06/0.934, allocations: 1.062 kB / 1.28 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.934, allocations: 0 / 1.28 GB, free: 10.68 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004841/0.9345, allocations: 332.4 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.9345, allocations: 9.719 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.197e-05/0.9346, allocations: 4.188 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.03e-05/0.9346, allocations: 36.3 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.014e-05/0.9346, allocations: 2.031 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.9347, allocations: 170.8 kB / 1.281 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.9348, allocations: 1.5 kB / 1.281 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.9348, allocations: 8.297 kB / 1.281 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.9349, allocations: 45.97 kB / 1.281 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.9349, allocations: 0 / 1.281 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.9349, allocations: 4 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.9349, allocations: 0.9375 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.9351, allocations: 29 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001751/0.9353, allocations: 154.6 kB / 1.281 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.9354, allocations: 32.31 kB / 1.281 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.504e-05/0.9355, allocations: 28.92 kB / 1.281 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.266e-06/0.9355, allocations: 1.094 kB / 1.281 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.9355, allocations: 40.12 kB / 1.281 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.9355, allocations: 0 / 1.281 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0003366/0.9359, allocations: 71.02 kB / 1.281 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.9359, allocations: 61.31 kB / 1.281 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.116e-05/0.936, allocations: 100.4 kB / 1.282 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.936, allocations: 25.7 kB / 1.282 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.216e-05/0.9361, allocations: 82.05 kB / 1.282 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.9361, allocations: 5.266 kB / 1.282 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.9361, allocations: 15.83 kB / 1.282 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.9362, allocations: 313 kB / 1.282 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.343e-05/0.9363, allocations: 12.44 kB / 1.282 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.538e-05/0.9364, allocations: 21.2 kB / 1.282 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.9366, allocations: 31.17 kB / 1.282 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.9366, allocations: 0 / 1.282 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002087/0.9368, allocations: 64.25 kB / 1.282 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.9368, allocations: 13.06 kB / 1.282 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.9368, allocations: 0.6562 kB / 1.282 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.9368, allocations: 0 / 1.282 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.068e-05/0.9369, allocations: 8.188 kB / 1.282 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.9369, allocations: 0 / 1.282 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.453e-05/0.9369, allocations: 6.438 kB / 1.282 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.9369, allocations: 0.8438 kB / 1.282 GB, free: 9.016 MB / 0.9981 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 7.822e-05/0.937, allocations: 114.2 kB / 1.282 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.078e-05/0.937, allocations: 5.734 kB / 1.282 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.784e-05/0.937, allocations: 11.77 kB / 1.282 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.937, allocations: 1.094 kB / 1.282 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.937, allocations: 0 / 1.282 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.937, allocations: 0.6562 kB / 1.282 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.9372, allocations: 154 kB / 1.282 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.9372, allocations: 0 / 1.282 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.333e-05/0.9372, allocations: 7.562 kB / 1.282 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-06/0.9372, allocations: 4.734 kB / 1.282 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.9372, allocations: 4.75 kB / 1.282 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.9372, allocations: 0 / 1.282 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.9372, allocations: 4.969 kB / 1.282 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/0.9374, allocations: 88.75 kB / 1.282 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.677e-05/0.9375, allocations: 82.36 kB / 1.283 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.9375, allocations: 0.6562 kB / 1.283 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.49e-05/0.9375, allocations: 7.391 kB / 1.283 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/0.9376, allocations: 8.906 kB / 1.283 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-06/0.9376, allocations: 0.75 kB / 1.283 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.18e-05/0.9376, allocations: 80.22 kB / 1.283 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9376, allocations: 0 / 1.283 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001742/0.9378, allocations: 3.281 kB / 1.283 GB, free: 8.422 MB / 0.9981 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.0005422/0.9383, allocations: 0.625 MB / 1.283 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000207/0.9385, allocations: 31.02 kB / 1.283 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.9385, allocations: 0 / 1.283 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.526e-05/0.9386, allocations: 18.38 kB / 1.283 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.9388, allocations: 7.578 kB / 1.283 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003698/0.9392, allocations: 124.8 kB / 1.283 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.9395, allocations: 0.6816 MB / 1.284 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.067e-05/0.9395, allocations: 0.5938 kB / 1.284 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.9396, allocations: 9.219 kB / 1.284 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/0.9396, allocations: 0 / 1.284 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01677/0.9563, allocations: 1.28 MB / 1.285 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.543/9.499, allocations: 12.28 kB / 1.285 GB, free: 6.555 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.83244306303095] Failed to read output from testmodel.py, exit status != 0: 9.622085244976915 9.645245344 8.706861379 Calling exit ...