Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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: 116.8 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.001445/0.001445, allocations: 209.5 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.538/1.538, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.025/3.025, allocations: 0.49 GB / 0.7923 GB, free: 1.473 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002056/0.002056, allocations: 71.89 kB / 1.15 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.159/1.161, allocations: 176.1 MB / 1.322 GB, free: 24.79 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001544/1.162, allocations: 0.6127 MB / 1.322 GB, free: 24.41 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006596/1.163, allocations: 0.81 MB / 1.323 GB, free: 23.8 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.856e-05/1.163, allocations: 0 / 1.323 GB, free: 23.8 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.361e-05/1.163, allocations: 0 / 1.323 GB, free: 23.8 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.826e-05/1.163, allocations: 3.938 kB / 1.323 GB, free: 23.79 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.75e-05/1.163, allocations: 7.375 kB / 1.323 GB, free: 23.79 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.173e-05/1.163, allocations: 19.94 kB / 1.323 GB, free: 23.78 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.333e-05/1.163, allocations: 0 / 1.323 GB, free: 23.78 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.374e-05/1.163, allocations: 14.8 kB / 1.323 GB, free: 23.77 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.936e-05/1.163, allocations: 5.812 kB / 1.323 GB, free: 23.77 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/1.163, allocations: 6.844 kB / 1.323 GB, free: 23.77 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.84e-06/1.163, allocations: 0 / 1.323 GB, free: 23.77 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/1.163, allocations: 6.75 kB / 1.323 GB, free: 23.76 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.893e-05/1.163, allocations: 7.125 kB / 1.323 GB, free: 23.76 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 5.788e-05/1.164, allocations: 13.08 kB / 1.323 GB, free: 23.75 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/1.164, allocations: 0 / 1.323 GB, free: 23.75 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.343e-06/1.164, allocations: 6.719 kB / 1.323 GB, free: 23.75 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.378e-06/1.164, allocations: 3.938 kB / 1.323 GB, free: 23.75 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.0003278/1.164, allocations: 334.8 kB / 1.323 GB, free: 23.39 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/1.164, allocations: 16.17 kB / 1.323 GB, free: 23.38 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.915e-05/1.164, allocations: 2.781 kB / 1.323 GB, free: 23.38 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.575e-05/1.164, allocations: 30.75 kB / 1.323 GB, free: 23.34 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.854e-05/1.164, allocations: 0.9375 kB / 1.323 GB, free: 23.34 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.391e-05/1.164, allocations: 170.3 kB / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/1.164, allocations: 4.312 kB / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.673e-06/1.164, allocations: 384 / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/1.164, allocations: 41.83 kB / 1.324 GB, free: 23.1 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/1.164, allocations: 6.594 kB / 1.324 GB, free: 23.1 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/1.164, allocations: 7.234 kB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/1.164, allocations: 0 / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/1.164, allocations: 23.12 kB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001066/1.164, allocations: 155 kB / 1.324 GB, free: 22.9 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/1.165, allocations: 33.72 kB / 1.324 GB, free: 22.87 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.127e-05/1.165, allocations: 28.2 kB / 1.324 GB, free: 22.86 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/1.165, allocations: 0 / 1.324 GB, free: 22.86 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/1.165, allocations: 37.09 kB / 1.324 GB, free: 22.81 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/1.165, allocations: 0 / 1.324 GB, free: 22.81 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0003055/1.165, allocations: 77.22 kB / 1.324 GB, free: 22.77 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.309e-05/1.165, allocations: 55.53 kB / 1.324 GB, free: 22.7 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.518e-05/1.165, allocations: 98.58 kB / 1.324 GB, free: 22.61 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.304e-06/1.165, allocations: 25.7 kB / 1.324 GB, free: 22.57 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.053e-05/1.165, allocations: 87.23 kB / 1.324 GB, free: 22.49 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/1.165, allocations: 0 / 1.324 GB, free: 22.49 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/1.165, allocations: 16.98 kB / 1.324 GB, free: 22.47 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.747e-05/1.165, allocations: 313.4 kB / 1.324 GB, free: 22.16 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.182e-05/1.165, allocations: 19.25 kB / 1.325 GB, free: 22.15 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.906e-05/1.165, allocations: 14.33 kB / 1.325 GB, free: 22.15 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/1.165, allocations: 32.39 kB / 1.325 GB, free: 22.14 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.165, allocations: 0 / 1.325 GB, free: 22.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001714/1.166, allocations: 63.08 kB / 1.325 GB, free: 22.1 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/1.166, allocations: 12.69 kB / 1.325 GB, free: 22.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/1.166, allocations: 0 / 1.325 GB, free: 22.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/1.166, allocations: 3.938 kB / 1.325 GB, free: 22.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.607e-05/1.166, allocations: 9.078 kB / 1.325 GB, free: 22.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/1.166, allocations: 3.938 kB / 1.325 GB, free: 22.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.374e-05/1.166, allocations: 2.875 kB / 1.325 GB, free: 22.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/1.166, allocations: 2.906 kB / 1.325 GB, free: 22.09 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 5.136e-05/1.166, allocations: 109.1 kB / 1.325 GB, free: 21.97 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.879e-06/1.166, allocations: 14.8 kB / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.76e-05/1.166, allocations: 7.062 kB / 1.325 GB, free: 21.95 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/1.166, allocations: 0 / 1.325 GB, free: 21.95 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.166, allocations: 0 / 1.325 GB, free: 21.95 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/1.166, allocations: 0 / 1.325 GB, free: 21.95 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.576e-05/1.166, allocations: 154.9 kB / 1.325 GB, free: 21.76 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/1.166, allocations: 6.594 kB / 1.325 GB, free: 21.76 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.035e-05/1.166, allocations: 2.562 kB / 1.325 GB, free: 21.76 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/1.166, allocations: 6.438 kB / 1.325 GB, free: 21.75 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/1.166, allocations: 3.234 kB / 1.325 GB, free: 21.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/1.166, allocations: 4 kB / 1.325 GB, free: 21.75 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.166, allocations: 0 / 1.325 GB, free: 21.75 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/1.166, allocations: 83.14 kB / 1.325 GB, free: 21.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.494e-05/1.166, allocations: 83.89 kB / 1.325 GB, free: 21.58 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/1.166, allocations: 0 / 1.325 GB, free: 21.58 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.432e-05/1.166, allocations: 14.08 kB / 1.325 GB, free: 21.57 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/1.166, allocations: 192 / 1.325 GB, free: 21.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/1.166, allocations: 2.812 kB / 1.325 GB, free: 21.57 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.384e-05/1.166, allocations: 85.48 kB / 1.325 GB, free: 21.5 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.166, allocations: 0 / 1.325 GB, free: 21.5 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001797/1.167, allocations: 2.906 kB / 1.325 GB, free: 21.5 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.0004127/1.167, allocations: 0.6248 MB / 1.326 GB, free: 20.89 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002223/1.167, allocations: 36.45 kB / 1.326 GB, free: 20.88 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.167, allocations: 0 / 1.326 GB, free: 20.88 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.028e-05/1.167, allocations: 15.23 kB / 1.326 GB, free: 20.88 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/1.168, allocations: 6.656 kB / 1.326 GB, free: 20.88 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003893/1.168, allocations: 126.1 kB / 1.326 GB, free: 20.73 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/1.168, allocations: 0.6749 MB / 1.327 GB, free: 20.04 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.309e-05/1.168, allocations: 3.906 kB / 1.327 GB, free: 20.04 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.39e-05/1.168, allocations: 17.97 kB / 1.327 GB, free: 20.02 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/1.168, allocations: 0 / 1.327 GB, free: 20.02 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01685/1.185, allocations: 1.274 MB / 1.328 GB, free: 19.63 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.379/9.564, allocations: 2.547 kB / 1.328 GB, free: 19.63 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.249392242985778] Failed to read output from testmodel.py, exit status != 0: 9.687049108964857 9.701160787 8.535118475 Calling exit ...