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.001841/0.001841, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002194/0.002194, allocations: 218.5 kB / 23.05 MB, free: 5.074 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.576/1.576, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.367/3.367, allocations: 0.5003 GB / 0.8062 GB, free: 26.76 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.001902/0.001902, allocations: 65.17 kB / 1.171 GB, free: 19.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3912, allocations: 179 MB / 1.345 GB, free: 464 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.002105/0.3933, allocations: 0.6099 MB / 1.346 GB, free: 15.84 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.3944, allocations: 0.8203 MB / 1.347 GB, free: 15.01 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.851e-05/0.3944, allocations: 0 / 1.347 GB, free: 15.01 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.106e-05/0.3945, allocations: 3.938 kB / 1.347 GB, free: 15.01 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.499e-05/0.3945, allocations: 0 / 1.347 GB, free: 15.01 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.023e-05/0.3946, allocations: 4 kB / 1.347 GB, free: 15 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.389e-05/0.3946, allocations: 23.92 kB / 1.347 GB, free: 14.98 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.606e-05/0.3947, allocations: 0 / 1.347 GB, free: 14.98 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.22e-05/0.3947, allocations: 8 kB / 1.347 GB, free: 14.97 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.585e-05/0.3948, allocations: 11.92 kB / 1.347 GB, free: 14.96 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.3948, allocations: 0 / 1.347 GB, free: 14.96 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.171e-06/0.3948, allocations: 0 / 1.347 GB, free: 14.96 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.199e-05/0.3948, allocations: 7.984 kB / 1.347 GB, free: 14.95 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.771e-05/0.3948, allocations: 7.938 kB / 1.347 GB, free: 14.95 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 8.044e-05/0.3949, allocations: 16.25 kB / 1.347 GB, free: 14.93 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3949, allocations: 0 / 1.347 GB, free: 14.93 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3949, allocations: 0 / 1.347 GB, free: 14.93 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.3949, allocations: 4 kB / 1.347 GB, free: 14.93 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.0004714/0.3954, allocations: 258.3 kB / 1.347 GB, free: 14.64 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3954, allocations: 8.031 kB / 1.347 GB, free: 14.63 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.901e-05/0.3955, allocations: 8.125 kB / 1.347 GB, free: 14.62 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.616e-05/0.3955, allocations: 30.75 kB / 1.347 GB, free: 14.59 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.936e-05/0.3955, allocations: 0.9375 kB / 1.347 GB, free: 14.59 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.3956, allocations: 114.4 kB / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.3956, allocations: 8.375 kB / 1.347 GB, free: 14.44 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.3956, allocations: 4.375 kB / 1.347 GB, free: 14.44 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.3958, allocations: 49.92 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.3958, allocations: 0 / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.3958, allocations: 0 / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.3958, allocations: 0 / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.396, allocations: 27.97 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.3962, allocations: 128.8 kB / 1.347 GB, free: 14.19 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.3963, allocations: 30.53 kB / 1.347 GB, free: 14.15 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.3964, allocations: 28.89 kB / 1.348 GB, free: 14.12 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.3964, allocations: 0 / 1.348 GB, free: 14.12 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.3964, allocations: 34.5 kB / 1.348 GB, free: 14.07 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.3964, allocations: 0 / 1.348 GB, free: 14.07 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0003229/0.3967, allocations: 77.59 kB / 1.348 GB, free: 13.99 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.3968, allocations: 55.39 kB / 1.348 GB, free: 13.93 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.65e-05/0.3969, allocations: 97.86 kB / 1.348 GB, free: 13.82 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.3969, allocations: 29.64 kB / 1.348 GB, free: 13.79 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.95e-05/0.3969, allocations: 80.14 kB / 1.348 GB, free: 13.7 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.397, allocations: 4 kB / 1.348 GB, free: 13.7 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.397, allocations: 17.84 kB / 1.348 GB, free: 13.68 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3971, allocations: 314.8 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.841e-05/0.3972, allocations: 11.98 kB / 1.348 GB, free: 13.35 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.304e-05/0.3973, allocations: 15.98 kB / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.3974, allocations: 32.89 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.3974, allocations: 8 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001964/0.3976, allocations: 69.55 kB / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3977, allocations: 7.938 kB / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3977, allocations: 0 / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3977, allocations: 0 / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.814e-05/0.3978, allocations: 7.984 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.3978, allocations: 0 / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.512e-05/0.3978, allocations: 8.031 kB / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.3978, allocations: 0 / 1.348 GB, free: 13.19 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.527e-05/0.3979, allocations: 117.8 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.3979, allocations: 3.938 kB / 1.348 GB, free: 13.06 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.856e-05/0.3979, allocations: 3.156 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.3979, allocations: 0 / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3979, allocations: 0 / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-06/0.3979, allocations: 7.938 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.398, allocations: 120.8 kB / 1.349 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.398, allocations: 8 kB / 1.349 GB, free: 12.88 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.203e-05/0.3981, allocations: 7.984 kB / 1.349 GB, free: 12.87 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.3981, allocations: 3.938 kB / 1.349 GB, free: 12.87 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.3981, allocations: 0 / 1.349 GB, free: 12.87 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.3981, allocations: 0 / 1.349 GB, free: 12.87 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3981, allocations: 0 / 1.349 GB, free: 12.87 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.3983, allocations: 89.03 kB / 1.349 GB, free: 12.76 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.3983, allocations: 7.938 kB / 1.349 GB, free: 12.75 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.3983, allocations: 0 / 1.349 GB, free: 12.75 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.464e-05/0.3984, allocations: 8.172 kB / 1.349 GB, free: 12.75 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.3984, allocations: 4 kB / 1.349 GB, free: 12.74 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.3984, allocations: 3.984 kB / 1.349 GB, free: 12.74 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.525e-05/0.3985, allocations: 79.28 kB / 1.349 GB, free: 12.66 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3985, allocations: 0 / 1.349 GB, free: 12.66 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001764/0.3986, allocations: 4 kB / 1.349 GB, free: 12.66 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.0005476/0.3992, allocations: 0.6241 MB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002046/0.3994, allocations: 39.94 kB / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3994, allocations: 0 / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.843e-05/0.3995, allocations: 11.98 kB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.3997, allocations: 4 kB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000414/0.4002, allocations: 127.3 kB / 1.35 GB, free: 11.78 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.4005, allocations: 0.6766 MB / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.753e-05/0.4005, allocations: 8.125 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.551e-05/0.4005, allocations: 7.438 kB / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of SimCode: time 4.2e-07/0.4005, allocations: 0 / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/0.4235, allocations: 1.354 MB / 1.352 GB, free: 9.859 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.66, allocations: 13.19 kB / 1.352 GB, free: 9.852 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.884047885949258] Failed to read output from testmodel.py, exit status != 0: 11.818300309998449 11.837222012 11.438860529 Calling exit ...