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.00171/0.00171, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002108/0.002108, allocations: 214.9 kB / 23.02 MB, free: 4.953 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.396/3.396, allocations: 0.5003 GB / 0.8062 GB, free: 28.31 MB / 0.6231 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.00203/0.00203, allocations: 65.52 kB / 1.171 GB, free: 19.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3612, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.002034/0.3633, allocations: 0.6074 MB / 1.346 GB, free: 15.34 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.3644, allocations: 0.8048 MB / 1.347 GB, free: 14.53 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.748e-05/0.3644, allocations: 3.938 kB / 1.347 GB, free: 14.52 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.654e-05/0.3644, allocations: 0 / 1.347 GB, free: 14.52 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.589e-05/0.3645, allocations: 7.984 kB / 1.347 GB, free: 14.52 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.886e-05/0.3646, allocations: 3.984 kB / 1.347 GB, free: 14.51 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.3e-05/0.3646, allocations: 19.94 kB / 1.347 GB, free: 14.49 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.198e-05/0.3647, allocations: 3.984 kB / 1.347 GB, free: 14.49 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.353e-05/0.3648, allocations: 4 kB / 1.347 GB, free: 14.48 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.293e-05/0.3648, allocations: 11.94 kB / 1.347 GB, free: 14.47 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.3648, allocations: 0 / 1.347 GB, free: 14.47 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.242e-06/0.3648, allocations: 0 / 1.347 GB, free: 14.47 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.3648, allocations: 7.984 kB / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.612e-05/0.3649, allocations: 8 kB / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 8.71e-05/0.365, allocations: 20.19 kB / 1.347 GB, free: 14.44 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.365, allocations: 0 / 1.347 GB, free: 14.44 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.064e-06/0.365, allocations: 3.938 kB / 1.347 GB, free: 14.43 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.365, allocations: 0 / 1.347 GB, free: 14.43 MB / 1.045 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.0004678/0.3654, allocations: 250.4 kB / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.3655, allocations: 8.031 kB / 1.347 GB, free: 14.15 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.033e-05/0.3655, allocations: 4.188 kB / 1.347 GB, free: 14.14 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.431e-05/0.3655, allocations: 34.73 kB / 1.347 GB, free: 14.1 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.521e-05/0.3656, allocations: 8.938 kB / 1.347 GB, free: 14.09 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.3657, allocations: 118.4 kB / 1.347 GB, free: 13.95 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.3657, allocations: 384 / 1.347 GB, free: 13.95 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.3657, allocations: 384 / 1.347 GB, free: 13.95 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.3659, allocations: 42 kB / 1.347 GB, free: 13.91 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.3659, allocations: 0 / 1.347 GB, free: 13.91 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.3659, allocations: 0 / 1.347 GB, free: 13.91 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3659, allocations: 3.984 kB / 1.347 GB, free: 13.9 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.3661, allocations: 39.91 kB / 1.347 GB, free: 13.86 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000164/0.3662, allocations: 116.8 kB / 1.347 GB, free: 13.71 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.3663, allocations: 34.58 kB / 1.347 GB, free: 13.66 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.332e-05/0.3664, allocations: 20.91 kB / 1.347 GB, free: 13.64 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.3664, allocations: 3.938 kB / 1.347 GB, free: 13.64 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.3665, allocations: 38.44 kB / 1.347 GB, free: 13.59 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.3665, allocations: 0 / 1.347 GB, free: 13.59 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0003127/0.3668, allocations: 81.58 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.3668, allocations: 51.41 kB / 1.348 GB, free: 13.44 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.652e-05/0.3669, allocations: 101.9 kB / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.3669, allocations: 25.7 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/0.367, allocations: 80.14 kB / 1.348 GB, free: 13.22 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.367, allocations: 3.984 kB / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.367, allocations: 17.72 kB / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.3672, allocations: 310.8 kB / 1.348 GB, free: 12.88 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.296e-05/0.3672, allocations: 20.11 kB / 1.348 GB, free: 12.86 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.645e-05/0.3673, allocations: 15.98 kB / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.3675, allocations: 32.81 kB / 1.348 GB, free: 12.81 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3675, allocations: 0 / 1.348 GB, free: 12.81 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000179/0.3676, allocations: 65.56 kB / 1.348 GB, free: 12.74 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3677, allocations: 16.03 kB / 1.348 GB, free: 12.72 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.3677, allocations: 0 / 1.348 GB, free: 12.72 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.3677, allocations: 0 / 1.348 GB, free: 12.72 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.402e-05/0.3678, allocations: 7.984 kB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.3678, allocations: 0 / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.93e-05/0.3678, allocations: 7.984 kB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.3678, allocations: 0 / 1.348 GB, free: 12.71 MB / 1.045 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 8.716e-05/0.3679, allocations: 113.8 kB / 1.348 GB, free: 12.59 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-06/0.3679, allocations: 3.938 kB / 1.348 GB, free: 12.58 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.163e-05/0.3679, allocations: 7.156 kB / 1.348 GB, free: 12.57 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.3679, allocations: 0 / 1.348 GB, free: 12.57 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.3679, allocations: 0 / 1.348 GB, free: 12.57 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3679, allocations: 4 kB / 1.348 GB, free: 12.57 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.3681, allocations: 120.8 kB / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3681, allocations: 0 / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-05/0.3681, allocations: 11.98 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.3681, allocations: 3.938 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.3681, allocations: 0 / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3681, allocations: 0 / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3681, allocations: 0 / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/0.3683, allocations: 97.16 kB / 1.349 GB, free: 12.28 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.003e-05/0.3683, allocations: 7.922 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.3684, allocations: 0 / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.008e-05/0.3684, allocations: 4 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.3684, allocations: 7.984 kB / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-06/0.3684, allocations: 0 / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.448e-05/0.3685, allocations: 79.28 kB / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3685, allocations: 3.938 kB / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001786/0.3687, allocations: 8.031 kB / 1.349 GB, free: 12.17 MB / 1.045 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.000542/0.3692, allocations: 0.624 MB / 1.349 GB, free: 11.51 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002003/0.3694, allocations: 35.95 kB / 1.349 GB, free: 11.48 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3694, allocations: 4 kB / 1.349 GB, free: 11.47 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.863e-05/0.3695, allocations: 16.08 kB / 1.349 GB, free: 11.46 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.3698, allocations: 5.203 kB / 1.349 GB, free: 11.45 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004168/0.3702, allocations: 115.3 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.821e-05/0.3702, allocations: 63.34 kB / 1.35 GB, free: 11.22 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.208e-05/0.3703, allocations: 0 / 1.35 GB, free: 11.22 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.3703, allocations: 11.38 kB / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.3703, allocations: 0 / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02096/0.3913, allocations: 1.406 MB / 1.351 GB, free: 9.953 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.82, allocations: 14.77 kB / 1.351 GB, free: 9.949 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.978592816041782] Failed to read output from testmodel.py, exit status != 0: 11.99334354896564 12.02141497 11.652965554 Calling exit ...