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.00176/0.00176, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002462/0.002462, allocations: 212 kB / 22.24 MB, free: 5.262 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.522/1.522, allocations: 230.6 MB / 256 MB, free: 7.789 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.152/3.152, allocations: 0.4892 GB / 0.7943 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 177] 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="me",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="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.002078/0.002078, allocations: 68.08 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3321, allocations: 176.1 MB / 1.325 GB, free: 2.309 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001778/0.3338, allocations: 0.5932 MB / 1.326 GB, free: 1.723 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.3349, allocations: 0.8241 MB / 1.326 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.694e-05/0.3349, allocations: 0 / 1.326 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.291e-05/0.3349, allocations: 4 kB / 1.326 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.964e-05/0.335, allocations: 3.938 kB / 1.326 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.723e-05/0.335, allocations: 8 kB / 1.327 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.037e-05/0.3351, allocations: 15.92 kB / 1.327 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.815e-05/0.3351, allocations: 4 kB / 1.327 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.085e-05/0.3352, allocations: 4 kB / 1.327 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.194e-05/0.3352, allocations: 11.92 kB / 1.327 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.3352, allocations: 3.984 kB / 1.327 GB, free: 0.832 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.72e-06/0.3352, allocations: 4 kB / 1.327 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.127e-05/0.3352, allocations: 0 / 1.327 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.062e-05/0.3352, allocations: 8 kB / 1.327 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 7.229e-05/0.3353, allocations: 20.19 kB / 1.327 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3353, allocations: 0 / 1.327 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3353, allocations: 0 / 1.327 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.3353, allocations: 0 / 1.327 GB, free: 0.8008 MB / 1.014 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.0004248/0.3358, allocations: 260.2 kB / 1.327 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3358, allocations: 8.031 kB / 1.327 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.289e-05/0.3358, allocations: 34.75 kB / 1.327 GB, free: 476 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.712e-05/0.3359, allocations: 0.9375 kB / 1.327 GB, free: 476 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.336, allocations: 110.5 kB / 1.327 GB, free: 340 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.336, allocations: 8.375 kB / 1.327 GB, free: 332 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.336, allocations: 384 / 1.327 GB, free: 332 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.3362, allocations: 50.17 kB / 1.327 GB, free: 276 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3362, allocations: 3.938 kB / 1.327 GB, free: 272 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.3362, allocations: 0 / 1.327 GB, free: 272 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3362, allocations: 0 / 1.327 GB, free: 272 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.3363, allocations: 27.97 kB / 1.327 GB, free: 244 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001707/0.3365, allocations: 124.8 kB / 1.327 GB, free: 76 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.3366, allocations: 30.56 kB / 1.327 GB, free: 36 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.463e-05/0.3367, allocations: 24.89 kB / 1.327 GB, free: 8 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.3367, allocations: 0 / 1.327 GB, free: 8 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.969e-05/0.3368, allocations: 42.48 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.3368, allocations: 0 / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0003224/0.3371, allocations: 73.64 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.3371, allocations: 63.38 kB / 1.327 GB, free: 15.8 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.438e-05/0.3372, allocations: 101.8 kB / 1.327 GB, free: 15.7 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.3372, allocations: 25.7 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.569e-05/0.3373, allocations: 80.14 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.3373, allocations: 8 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.004e-05/0.3374, allocations: 9.719 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3375, allocations: 314.8 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.067e-05/0.3376, allocations: 15.97 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.754e-05/0.3377, allocations: 27.92 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.3379, allocations: 32.83 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.3379, allocations: 0 / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001827/0.338, allocations: 57.66 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.3381, allocations: 7.938 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3381, allocations: 0 / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.3381, allocations: 96 / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.137e-05/0.3382, allocations: 11.98 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3382, allocations: 4 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.362e-05/0.3382, allocations: 4 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.3382, allocations: 4 kB / 1.328 GB, free: 15.07 MB / 1.029 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 7.701e-05/0.3383, allocations: 108.1 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.118e-05/0.3383, allocations: 7.891 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.418e-05/0.3383, allocations: 15.08 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.3383, allocations: 0 / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3383, allocations: 0 / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3383, allocations: 4 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.3384, allocations: 120.8 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3385, allocations: 3.984 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.013e-05/0.3385, allocations: 4 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.3385, allocations: 3.938 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.3385, allocations: 0 / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3385, allocations: 0 / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3385, allocations: 0 / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.3387, allocations: 89.09 kB / 1.328 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-06/0.3387, allocations: 0 / 1.328 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.3387, allocations: 7.938 kB / 1.328 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.363e-05/0.3388, allocations: 7.984 kB / 1.328 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.3388, allocations: 7.938 kB / 1.328 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.3388, allocations: 4 kB / 1.328 GB, free: 14.62 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.81e-05/0.3389, allocations: 79.27 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3389, allocations: 7.938 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001763/0.339, allocations: 0 / 1.329 GB, free: 14.53 MB / 1.029 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.0005334/0.3396, allocations: 0.6242 MB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001986/0.3398, allocations: 27.97 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3398, allocations: 0 / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.127e-05/0.3399, allocations: 19.92 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.3401, allocations: 8.078 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003661/0.3405, allocations: 127.3 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.067e-05/0.3405, allocations: 55.36 kB / 1.329 GB, free: 13.58 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.024e-05/0.3405, allocations: 0 / 1.329 GB, free: 13.58 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.24e-05/0.3406, allocations: 7.438 kB / 1.329 GB, free: 13.57 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3406, allocations: 0 / 1.329 GB, free: 13.57 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02853/0.3691, allocations: 1.758 MB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.91, allocations: 19.23 kB / 1.331 GB, free: 11.94 MB / 1.029 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_12_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_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] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.761088585015386]