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.001747/0.001747, allocations: 109.7 kB / 16.45 MB, free: 6.488 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.002115/0.002115, allocations: 216.2 kB / 19.43 MB, free: 3.656 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.555/1.555, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.773/2.773, allocations: 476.7 MB / 0.7672 GB, free: 5.223 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="me",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="me",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.002103/0.002103, allocations: 63.91 kB / 1.112 GB, free: 1.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7926/0.7947, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.002326/0.797, allocations: 0.6114 MB / 1.279 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.7981, allocations: 0.8101 MB / 1.28 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.168e-05/0.7981, allocations: 0 / 1.28 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.883e-05/0.7981, allocations: 4 kB / 1.28 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.565e-05/0.7982, allocations: 3.938 kB / 1.28 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.943e-05/0.7983, allocations: 7.984 kB / 1.28 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.168e-05/0.7983, allocations: 15.94 kB / 1.28 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.924e-05/0.7984, allocations: 3.984 kB / 1.28 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.273e-05/0.7985, allocations: 15.92 kB / 1.28 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.928e-05/0.7985, allocations: 7.984 kB / 1.28 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.7985, allocations: 0 / 1.28 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.322e-06/0.7985, allocations: 0 / 1.28 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.7985, allocations: 11.94 kB / 1.28 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.949e-05/0.7986, allocations: 4 kB / 1.28 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.317e-05/0.7987, allocations: 19.91 kB / 1.28 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.7987, allocations: 0 / 1.28 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.112e-06/0.7987, allocations: 0 / 1.28 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.7987, allocations: 3.938 kB / 1.28 GB, free: 11.88 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.0005407/0.7992, allocations: 337.3 kB / 1.28 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.7992, allocations: 8.031 kB / 1.28 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.461e-05/0.7993, allocations: 30.75 kB / 1.28 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.315e-05/0.7993, allocations: 4.938 kB / 1.28 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.7994, allocations: 164.4 kB / 1.28 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.7995, allocations: 384 / 1.28 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.343e-06/0.7995, allocations: 384 / 1.28 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.7997, allocations: 46.23 kB / 1.28 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.7997, allocations: 3.938 kB / 1.28 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.7997, allocations: 3.938 kB / 1.28 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.7997, allocations: 0 / 1.28 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.7999, allocations: 31.97 kB / 1.28 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001876/0.8001, allocations: 153.7 kB / 1.281 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.8003, allocations: 34.55 kB / 1.281 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.8004, allocations: 20.91 kB / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.8004, allocations: 0 / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.8004, allocations: 34.56 kB / 1.281 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.8004, allocations: 0 / 1.281 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0003491/0.8008, allocations: 85.52 kB / 1.281 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.8008, allocations: 51.41 kB / 1.281 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.687e-05/0.8009, allocations: 97.86 kB / 1.281 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.8009, allocations: 25.7 kB / 1.281 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/0.801, allocations: 88.27 kB / 1.281 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.801, allocations: 3.953 kB / 1.281 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.801, allocations: 13.7 kB / 1.281 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.8012, allocations: 314.8 kB / 1.281 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.8013, allocations: 15.98 kB / 1.281 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.914e-05/0.8014, allocations: 11.98 kB / 1.281 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.8016, allocations: 40.83 kB / 1.281 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.8016, allocations: 0 / 1.281 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002598/0.8018, allocations: 65.59 kB / 1.281 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.8019, allocations: 7.938 kB / 1.281 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.8019, allocations: 0 / 1.281 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.8019, allocations: 4 kB / 1.281 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.802, allocations: 7.984 kB / 1.281 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.802, allocations: 4.031 kB / 1.281 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.142e-05/0.8021, allocations: 11.98 kB / 1.281 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.8021, allocations: 0 / 1.281 GB, free: 9.957 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 0.000101/0.8022, allocations: 105.8 kB / 1.282 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.8022, allocations: 8.125 kB / 1.282 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.741e-05/0.8022, allocations: 7.109 kB / 1.282 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.8022, allocations: 3.938 kB / 1.282 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.8022, allocations: 0 / 1.282 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.8022, allocations: 4 kB / 1.282 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.8023, allocations: 153.7 kB / 1.282 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.8023, allocations: 0 / 1.282 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.1e-05/0.8024, allocations: 11.92 kB / 1.282 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.8024, allocations: 3.938 kB / 1.282 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.8024, allocations: 0 / 1.282 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.8024, allocations: 0 / 1.282 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.8024, allocations: 4 kB / 1.282 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.8026, allocations: 93.05 kB / 1.282 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.488e-05/0.8027, allocations: 77.11 kB / 1.282 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.8027, allocations: 3.938 kB / 1.282 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.955e-05/0.8028, allocations: 7.984 kB / 1.282 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.8028, allocations: 0 / 1.282 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.8028, allocations: 0 / 1.282 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.719e-05/0.8029, allocations: 83.27 kB / 1.282 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8029, allocations: 4.031 kB / 1.282 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002035/0.8031, allocations: 4 kB / 1.282 GB, free: 9.293 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.0005998/0.8037, allocations: 0.6246 MB / 1.283 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002221/0.8039, allocations: 32 kB / 1.283 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.8039, allocations: 0 / 1.283 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.804, allocations: 15.98 kB / 1.283 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.8043, allocations: 5.812 kB / 1.283 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004458/0.8047, allocations: 135 kB / 1.283 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.805, allocations: 0.6846 MB / 1.283 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.466e-05/0.8051, allocations: 0 / 1.283 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.075e-05/0.8051, allocations: 15.44 kB / 1.283 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.8051, allocations: 0 / 1.283 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04479/0.8499, allocations: 1.222 MB / 1.285 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.305/9.155, allocations: 12.09 kB / 1.285 GB, free: 6.562 MB / 0.9825 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.csv --start-time 0 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.3658465819899]