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.001908/0.001908, 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.002291/0.002291, allocations: 217.8 kB / 23.03 MB, free: 4.945 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.544/1.544, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.823/2.823, allocations: 476.8 MB / 0.7715 GB, free: 3.906 MB / 0.6231 GB " [Timeout remaining time 177] 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.002062/0.002062, allocations: 64.16 kB / 1.118 GB, free: 39.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3645, allocations: 170 MB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001942/0.3664, allocations: 0.5977 MB / 1.285 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.3675, allocations: 0.8005 MB / 1.285 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.755e-05/0.3675, allocations: 4 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.445e-05/0.3675, allocations: 3.938 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.642e-05/0.3676, allocations: 3.984 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.505e-05/0.3676, allocations: 4 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.616e-05/0.3677, allocations: 19.92 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.414e-05/0.3677, allocations: 11.97 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.14e-05/0.3678, allocations: 8 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.987e-05/0.3678, allocations: 15.92 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.3678, allocations: 4 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.089e-06/0.3678, allocations: 0 / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.198e-05/0.3679, allocations: 0 / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.39e-05/0.3679, allocations: 8 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 7.534e-05/0.368, allocations: 19.42 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.368, allocations: 0 / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/0.368, allocations: 0 / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.747e-06/0.368, allocations: 0 / 1.286 GB, free: 9.043 MB / 0.9825 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.0004489/0.3684, allocations: 255.8 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.3685, allocations: 8.031 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.461e-05/0.3685, allocations: 8.188 kB / 1.286 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.252e-05/0.3685, allocations: 34.69 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.547e-05/0.3685, allocations: 0.9375 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.3687, allocations: 114.5 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.3687, allocations: 4.312 kB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.3687, allocations: 384 / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.3689, allocations: 45.98 kB / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.3689, allocations: 0 / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.3689, allocations: 0 / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3689, allocations: 0 / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.369, allocations: 31.97 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.3692, allocations: 124.8 kB / 1.286 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.3693, allocations: 34.53 kB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.594e-05/0.3694, allocations: 20.91 kB / 1.286 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.3694, allocations: 0 / 1.286 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.3695, allocations: 38.5 kB / 1.286 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.3695, allocations: 0 / 1.286 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0003308/0.3698, allocations: 77.64 kB / 1.286 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.3698, allocations: 59.28 kB / 1.286 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.735e-05/0.3699, allocations: 101.9 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.37, allocations: 29.69 kB / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.9e-05/0.37, allocations: 80.14 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.37, allocations: 3.953 kB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.3701, allocations: 17.72 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3702, allocations: 315 kB / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.877e-05/0.3703, allocations: 11.98 kB / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.771e-05/0.3704, allocations: 15.98 kB / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.3705, allocations: 32.81 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3705, allocations: 0 / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001875/0.3707, allocations: 65.67 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3707, allocations: 11.94 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3707, allocations: 0 / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.3707, allocations: 3.984 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.632e-05/0.3708, allocations: 4 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.3708, allocations: 0 / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.658e-05/0.3709, allocations: 7.984 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.3709, allocations: 0 / 1.287 GB, free: 7.32 MB / 0.9825 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.205e-05/0.3709, allocations: 113.8 kB / 1.287 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.929e-06/0.371, allocations: 7.969 kB / 1.287 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.919e-05/0.371, allocations: 3.156 kB / 1.287 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.371, allocations: 0 / 1.287 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.371, allocations: 0 / 1.287 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.371, allocations: 4 kB / 1.287 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.3711, allocations: 124.7 kB / 1.287 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3711, allocations: 0 / 1.287 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.329e-05/0.3712, allocations: 11.98 kB / 1.287 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3712, allocations: 7.875 kB / 1.287 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.3712, allocations: 0 / 1.287 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3712, allocations: 4 kB / 1.287 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3712, allocations: 0 / 1.287 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.3714, allocations: 88.98 kB / 1.287 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.267e-06/0.3714, allocations: 8.125 kB / 1.287 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.3714, allocations: 0 / 1.287 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.786e-05/0.3714, allocations: 11.97 kB / 1.287 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.3715, allocations: 3.938 kB / 1.287 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.3715, allocations: 0 / 1.287 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.621e-05/0.3715, allocations: 83.28 kB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3715, allocations: 4.031 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001853/0.3717, allocations: 4 kB / 1.288 GB, free: 6.781 MB / 0.9825 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.0005606/0.3723, allocations: 0.6124 MB / 1.288 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002108/0.3725, allocations: 39.89 kB / 1.288 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3725, allocations: 4.094 kB / 1.288 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.796e-05/0.3726, allocations: 15.98 kB / 1.288 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.3728, allocations: 6.062 kB / 1.288 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000414/0.3732, allocations: 123.3 kB / 1.288 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.904e-05/0.3733, allocations: 59.34 kB / 1.288 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.03e-05/0.3733, allocations: 0 / 1.288 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.323e-05/0.3733, allocations: 7.438 kB / 1.288 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.3733, allocations: 4.062 kB / 1.288 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02119/0.3945, allocations: 1.387 MB / 1.29 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.03, allocations: 9.812 kB / 1.29 GB, free: 4.586 MB / 0.9825 GB " [Timeout remaining time 288] (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: 18.732236679061316] Failed to read output from testmodel.py, exit status != 0: 12.699422854930162 12.218035862 11.844993233 Calling exit ...