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.0007987/0.0007987, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001004/0.001004, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.9102/0.9102, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.763/1.763, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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="me",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="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.494e-06/2.494e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.39e-05, allocations: 10.16 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001841/0.001865, allocations: 0.5923 MB / 1 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.002894, allocations: 0.812 MB / 1.001 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.571e-05/0.00293, allocations: 0 / 1.001 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.976e-05/0.002959, allocations: 4 kB / 1.001 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.52e-05/0.003035, allocations: 7.875 kB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 6.104e-05/0.003096, allocations: 7.984 kB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.97e-05/0.003175, allocations: 19.94 kB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.833e-05/0.003234, allocations: 0 / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.232e-05/0.003326, allocations: 11.98 kB / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.931e-05/0.003365, allocations: 7.984 kB / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/0.003394, allocations: 0 / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.65e-06/0.003399, allocations: 0 / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.027e-05/0.003419, allocations: 3.938 kB / 1.001 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.488e-05/0.003444, allocations: 8 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.415e-05/0.003538, allocations: 19.95 kB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.003542, allocations: 0 / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.633e-06/0.003544, allocations: 4 kB / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.003549, allocations: 0 / 1.001 GB, free: 11.94 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.0004287/0.003978, allocations: 258.3 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.004028, allocations: 8.75 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.927e-05/0.004067, allocations: 30.75 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.289e-05/0.00409, allocations: 4.938 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.004199, allocations: 105.8 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.004211, allocations: 384 / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.004221, allocations: 4.375 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.004387, allocations: 54.17 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.004396, allocations: 192 / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.004405, allocations: 384 / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.004411, allocations: 4.125 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.004526, allocations: 23.97 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001583/0.004684, allocations: 124.8 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.004787, allocations: 30.59 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.648e-05/0.004853, allocations: 24.91 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.004865, allocations: 3.938 kB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.004896, allocations: 38.5 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 1.913e-06/0.004898, allocations: 0 / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0002849/0.005183, allocations: 77.64 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.005224, allocations: 55.34 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.226e-05/0.005296, allocations: 97.84 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.005308, allocations: 29.83 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.057e-05/0.005348, allocations: 88.14 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.005374, allocations: 7.891 kB / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.005406, allocations: 9.719 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.845e-05/0.005505, allocations: 314.8 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.029e-05/0.005575, allocations: 15.98 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.262e-05/0.005627, allocations: 19.91 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.005744, allocations: 40.83 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.005746, allocations: 0 / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001659/0.005912, allocations: 57.67 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.00593, allocations: 7.984 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.005939, allocations: 4 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.005954, allocations: 0 / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.311e-05/0.006037, allocations: 7.938 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.006042, allocations: 0 / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.703e-05/0.006079, allocations: 12.02 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.006085, allocations: 0 / 1.003 GB, free: 10.21 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.875e-05/0.006153, allocations: 109.8 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.897e-06/0.006162, allocations: 4 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.122e-05/0.006183, allocations: 3.156 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.006186, allocations: 0 / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.006191, allocations: 3.938 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.006196, allocations: 3.984 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.09e-05/0.006286, allocations: 120.8 kB / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.006288, allocations: 0 / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.752e-05/0.006336, allocations: 11.98 kB / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.006339, allocations: 4 kB / 1.003 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.006346, allocations: 0 / 1.003 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.006347, allocations: 0 / 1.003 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.00635, allocations: 3.938 kB / 1.003 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.006517, allocations: 85.05 kB / 1.003 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-06/0.006526, allocations: 7.938 kB / 1.003 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.006538, allocations: 0 / 1.003 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.352e-05/0.006571, allocations: 12.02 kB / 1.003 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.00661, allocations: 7.938 kB / 1.003 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.006613, allocations: 192 / 1.003 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.737e-05/0.00665, allocations: 87.2 kB / 1.003 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1e-07/0.006651, allocations: 0 / 1.003 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001456/0.006796, allocations: 4 kB / 1.003 GB, free: 9.68 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.0003248/0.007121, allocations: 0.6164 MB / 1.004 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.00724, allocations: 27.97 kB / 1.004 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.007241, allocations: 0 / 1.004 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.045e-05/0.007282, allocations: 23.92 kB / 1.004 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/0.007458, allocations: 6.172 kB / 1.004 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002879/0.007746, allocations: 123.3 kB / 1.004 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.663e-05/0.007783, allocations: 63.47 kB / 1.004 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.82e-05/0.007801, allocations: 4 kB / 1.004 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/0.007832, allocations: 12.44 kB / 1.004 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of SimCode: time 5.51e-07/0.007832, allocations: 0 / 1.004 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01576/0.02359, allocations: 1.887 MB / 1.006 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.701/6.725, allocations: 6.188 kB / 1.006 GB, free: 6.965 MB / 0.9636 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.csv --start-time 0 --stop-time 5 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.937657004222274]