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.001276/0.001276, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001477/0.001477, allocations: 220.8 kB / 22.26 MB, free: 5.125 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.459/1.459, allocations: 230.6 MB / 256 MB, free: 7.988 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.753/2.753, allocations: 476.7 MB / 0.7707 GB, free: 4.277 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.002005/0.002005, allocations: 66.73 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3457, allocations: 170 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001829/0.3475, allocations: 0.6134 MB / 1.284 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.3485, allocations: 0.8121 MB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.198e-05/0.3486, allocations: 0 / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.467e-05/0.3486, allocations: 4 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.766e-05/0.3486, allocations: 3.938 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.721e-05/0.3487, allocations: 8 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.46e-05/0.3487, allocations: 15.92 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.491e-05/0.3488, allocations: 8.094 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.844e-05/0.3489, allocations: 7.938 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.071e-05/0.3489, allocations: 7.984 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.3489, allocations: 0 / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.759e-06/0.3489, allocations: 4 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/0.3489, allocations: 4 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.145e-05/0.3489, allocations: 3.938 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.797e-05/0.349, allocations: 23.95 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.349, allocations: 3.938 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.443e-06/0.349, allocations: 0 / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.748e-06/0.349, allocations: 0 / 1.285 GB, free: 10.16 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.0004082/0.3494, allocations: 261.9 kB / 1.285 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.3495, allocations: 12.03 kB / 1.285 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.478e-05/0.3495, allocations: 30.75 kB / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.76e-05/0.3495, allocations: 0.9375 kB / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.3496, allocations: 106.5 kB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.3496, allocations: 4.375 kB / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-06/0.3497, allocations: 384 / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.3498, allocations: 50.17 kB / 1.285 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.3498, allocations: 3.938 kB / 1.285 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.3498, allocations: 0 / 1.285 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3498, allocations: 4 kB / 1.285 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.35, allocations: 27.97 kB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001503/0.3501, allocations: 124.8 kB / 1.285 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.3502, allocations: 38.52 kB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.128e-05/0.3503, allocations: 20.91 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.3503, allocations: 7.922 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.3504, allocations: 38.56 kB / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.3504, allocations: 0 / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0003034/0.3507, allocations: 81.53 kB / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.3507, allocations: 51.41 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.144e-05/0.3508, allocations: 97.86 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.3508, allocations: 25.7 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.346e-05/0.3509, allocations: 84.27 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.3509, allocations: 4 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.3509, allocations: 13.7 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.351, allocations: 318.8 kB / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.28e-05/0.3511, allocations: 11.98 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.484e-05/0.3512, allocations: 19.92 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.3513, allocations: 36.88 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3513, allocations: 0 / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001719/0.3515, allocations: 57.67 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3515, allocations: 7.938 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.3515, allocations: 0 / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.3515, allocations: 3.938 kB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.159e-05/0.3516, allocations: 11.98 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.3516, allocations: 4.031 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.288e-05/0.3516, allocations: 7.984 kB / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.3516, allocations: 0 / 1.286 GB, free: 8.434 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 7.968e-05/0.3517, allocations: 113.8 kB / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.3517, allocations: 7.891 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.825e-05/0.3518, allocations: 7.156 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.3518, allocations: 0 / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3518, allocations: 0 / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3518, allocations: 0 / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.3519, allocations: 128.8 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3519, allocations: 0 / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.062e-05/0.3519, allocations: 7.984 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3519, allocations: 3.938 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.3519, allocations: 0 / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3519, allocations: 0 / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3519, allocations: 0 / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.3521, allocations: 89.09 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.162e-06/0.3521, allocations: 0 / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.3521, allocations: 3.938 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.084e-05/0.3522, allocations: 7.984 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.717e-05/0.3522, allocations: 3.938 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.3522, allocations: 0 / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.537e-05/0.3523, allocations: 91.2 kB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3523, allocations: 0 / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001741/0.3524, allocations: 8.031 kB / 1.287 GB, free: 7.902 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.0005077/0.3529, allocations: 0.6163 MB / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001891/0.3531, allocations: 28 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3531, allocations: 0 / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.283e-05/0.3532, allocations: 23.92 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.3534, allocations: 6.016 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003634/0.3538, allocations: 119.4 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.3541, allocations: 0.6808 MB / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.023e-05/0.3541, allocations: 0 / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.3541, allocations: 11.38 kB / 1.288 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.3541, allocations: 0 / 1.288 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02552/0.3797, allocations: 1.327 MB / 1.29 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.24, allocations: 6.719 kB / 1.29 GB, free: 5.137 MB / 0.9825 GB " [Timeout remaining time 288] (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: 17.877900281999246]