Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0008285/0.0008285, allocations: 80.55 kB / 19.96 MB, free: 4.605 MB / 18.57 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.001338/0.001338, allocations: 173.2 kB / 23.24 MB, free: 1.328 MB / 18.57 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 0.9683/0.9683, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.935/1.935, allocations: 389.6 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_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_13_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.407e-06/3.407e-06, allocations: 0 / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.602e-05, allocations: 2.281 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001453/0.001479, allocations: 0.5996 MB / 1.001 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009462/0.002426, allocations: 0.8043 MB / 1.002 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.356e-05/0.002459, allocations: 0 / 1.002 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.737e-05/0.002487, allocations: 3.938 kB / 1.002 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.399e-05/0.002551, allocations: 3.938 kB / 1.002 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.768e-05/0.002598, allocations: 11.92 kB / 1.002 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.886e-05/0.002667, allocations: 19.94 kB / 1.002 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.802e-05/0.002725, allocations: 7.984 kB / 1.002 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.285e-05/0.002808, allocations: 4 kB / 1.002 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.687e-05/0.002845, allocations: 15.97 kB / 1.002 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.002862, allocations: 0 / 1.002 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.739e-06/0.002867, allocations: 4 kB / 1.002 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.525e-05/0.002882, allocations: 0 / 1.002 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.123e-05/0.002903, allocations: 4 kB / 1.002 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.483e-05/0.002988, allocations: 19.91 kB / 1.002 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.002991, allocations: 0 / 1.002 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.212e-06/0.002993, allocations: 0 / 1.002 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.002997, allocations: 4 kB / 1.002 GB, free: 12.01 MB / 0.9636 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.0004288/0.003426, allocations: 262.3 kB / 1.002 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.003474, allocations: 9.344 kB / 1.002 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.174e-05/0.003515, allocations: 34.69 kB / 1.002 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.261e-05/0.003538, allocations: 0.9375 kB / 1.002 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.924e-05/0.003627, allocations: 105.8 kB / 1.003 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.003641, allocations: 384 / 1.003 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.003651, allocations: 384 / 1.003 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.003818, allocations: 42.23 kB / 1.003 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.003827, allocations: 8.188 kB / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.003836, allocations: 384 / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.003843, allocations: 4.125 kB / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.003962, allocations: 27.97 kB / 1.003 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.00412, allocations: 124.8 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.004227, allocations: 30.5 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.682e-05/0.004294, allocations: 20.91 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.366e-06/0.004302, allocations: 4 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.004326, allocations: 34.56 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.004327, allocations: 0 / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0002839/0.004611, allocations: 69.64 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.004648, allocations: 63.28 kB / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.391e-05/0.004722, allocations: 105.8 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.004733, allocations: 25.7 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.891e-05/0.004762, allocations: 84.27 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.004793, allocations: 11.89 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-05/0.004822, allocations: 13.72 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.66e-05/0.004909, allocations: 310.8 kB / 1.004 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.145e-05/0.00495, allocations: 11.98 kB / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.731e-05/0.004988, allocations: 27.91 kB / 1.004 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.023e-05/0.005068, allocations: 40.89 kB / 1.004 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.00507, allocations: 3.938 kB / 1.004 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001087/0.005178, allocations: 61.59 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.005195, allocations: 4 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.0052, allocations: 0 / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.005215, allocations: 0 / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.578e-05/0.005291, allocations: 7.938 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.005297, allocations: 0 / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.661e-05/0.005323, allocations: 16.02 kB / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.485e-06/0.005331, allocations: 4 kB / 1.004 GB, free: 10.27 MB / 0.9636 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 6.117e-05/0.005392, allocations: 108.5 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-06/0.005397, allocations: 0 / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.197e-05/0.005419, allocations: 7.141 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.005421, allocations: 4 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.005427, allocations: 3.938 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.005431, allocations: 0 / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.492e-05/0.005515, allocations: 120.8 kB / 1.004 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.005517, allocations: 0 / 1.004 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.752e-05/0.005544, allocations: 11.98 kB / 1.004 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.005546, allocations: 0 / 1.004 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.005552, allocations: 0 / 1.004 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.005554, allocations: 0 / 1.004 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.005556, allocations: 3.938 kB / 1.004 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.005683, allocations: 92.98 kB / 1.004 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.194e-06/0.00569, allocations: 0 / 1.004 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-06/0.0057, allocations: 0 / 1.004 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.068e-05/0.005721, allocations: 12.02 kB / 1.004 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.00576, allocations: 3.938 kB / 1.004 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.005763, allocations: 4 kB / 1.004 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.015e-05/0.005793, allocations: 83.27 kB / 1.004 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.005793, allocations: 4 kB / 1.004 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001231/0.005916, allocations: 0 / 1.004 GB, free: 9.75 MB / 0.9636 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.0003221/0.006238, allocations: 0.6086 MB / 1.005 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001282/0.006366, allocations: 39.94 kB / 1.005 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.006368, allocations: 0 / 1.005 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.772e-05/0.006406, allocations: 19.92 kB / 1.005 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.006642, allocations: 11.92 kB / 1.005 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003257/0.006968, allocations: 123.3 kB / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.781e-05/0.007006, allocations: 59.34 kB / 1.005 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.772e-05/0.007023, allocations: 4.125 kB / 1.005 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.007057, allocations: 12.5 kB / 1.005 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of SimCode: time 6.32e-07/0.007057, allocations: 3.938 kB / 1.005 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0786/0.08566, allocations: 1.88 MB / 1.007 GB, free: 7.039 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.281/7.367, allocations: 7.953 kB / 1.007 GB, free: 7.039 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_fmpy_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.102733524516225]