Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.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.0008312/0.0008312, 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.0009929/0.0009929, allocations: 170.3 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.9134/0.9134, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.75/1.75, allocations: 377.9 MB / 0.6221 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Validation.LimitSlewRate,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.326e-06/3.326e-06, allocations: 0 / 0.981 GB, free: 2.52 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.095e-05/3.427e-05, allocations: 5.234 kB / 0.981 GB, free: 2.516 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002497/0.002531, allocations: 1.018 MB / 0.982 GB, free: 1.496 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.00378, allocations: 0.991 MB / 0.983 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.288e-05/0.003853, allocations: 0 / 0.983 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 4.949e-05/0.003902, allocations: 19.73 kB / 0.983 GB, free: 484 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.004041, allocations: 43.59 kB / 0.9831 GB, free: 440 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.004255, allocations: 71.89 kB / 0.9831 GB, free: 368 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0002395/0.004494, allocations: 227.3 kB / 0.9833 GB, free: 140 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.004643, allocations: 53.2 kB / 0.9834 GB, free: 88 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.004792, allocations: 139.6 kB / 0.9835 GB, free: 15.95 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.826e-05/0.00489, allocations: 71.78 kB / 0.9836 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.28e-05/0.004923, allocations: 20 kB / 0.9836 GB, free: 15.86 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.164e-05/0.004944, allocations: 20 kB / 0.9836 GB, free: 15.84 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.504e-05/0.004979, allocations: 51.81 kB / 0.9837 GB, free: 15.79 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.719e-05/0.005027, allocations: 59.83 kB / 0.9837 GB, free: 15.73 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.005217, allocations: 231.2 kB / 0.984 GB, free: 15.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.00522, allocations: 4 kB / 0.984 GB, free: 15.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.502e-06/0.005221, allocations: 0 / 0.984 GB, free: 15.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.005226, allocations: 0 / 0.984 GB, free: 15.5 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007012/0.005927, allocations: 0.4971 MB / 0.9845 GB, free: 14.97 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.005968, allocations: 8.031 kB / 0.9845 GB, free: 14.96 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.747e-05/0.006005, allocations: 42.75 kB / 0.9845 GB, free: 14.91 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.006045, allocations: 24.8 kB / 0.9845 GB, free: 14.89 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.006272, allocations: 169.9 kB / 0.9847 GB, free: 14.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.006293, allocations: 16.31 kB / 0.9847 GB, free: 14.68 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/0.006326, allocations: 12.38 kB / 0.9847 GB, free: 14.67 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004233/0.006749, allocations: 246.5 kB / 0.985 GB, free: 14.42 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.006758, allocations: 192 / 0.985 GB, free: 14.42 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.006775, allocations: 12.38 kB / 0.985 GB, free: 14.41 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.006782, allocations: 8.125 kB / 0.985 GB, free: 14.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005459/0.007328, allocations: 291.7 kB / 0.9852 GB, free: 14.12 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005314/0.007859, allocations: 423.5 kB / 0.9857 GB, free: 13.66 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004197/0.008279, allocations: 234.3 kB / 0.9859 GB, free: 13.42 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003065/0.008585, allocations: 192.6 kB / 0.9861 GB, free: 13.23 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.008611, allocations: 0 / 0.9861 GB, free: 13.23 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.008632, allocations: 34.56 kB / 0.9861 GB, free: 13.19 MB / 0.948 GB Notification: Performance of pre-optimization done (n=17): time 9.62e-07/0.008633, allocations: 0 / 0.9861 GB, free: 13.19 MB / 0.948 GB Notification: Performance of matching and sorting (n=17): time 0.0009622/0.009595, allocations: 0.4925 MB / 0.9866 GB, free: 12.69 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.009629, allocations: 59.28 kB / 0.9866 GB, free: 12.62 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.009737, allocations: 179.8 kB / 0.9868 GB, free: 12.43 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.009754, allocations: 29.7 kB / 0.9868 GB, free: 12.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.763e-05/0.009811, allocations: 124.5 kB / 0.9869 GB, free: 12.27 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.44e-05/0.009856, allocations: 79.34 kB / 0.987 GB, free: 12.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/0.009903, allocations: 29.72 kB / 0.9871 GB, free: 12.16 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.707e-05/0.00999, allocations: 330.8 kB / 0.9874 GB, free: 11.83 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.01028, allocations: 147.8 kB / 0.9875 GB, free: 11.68 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003108/0.01059, allocations: 229.7 kB / 0.9877 GB, free: 11.44 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005429/0.01113, allocations: 298.9 kB / 0.988 GB, free: 11.14 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.01114, allocations: 0 / 0.988 GB, free: 11.14 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006575/0.01179, allocations: 361.1 kB / 0.9884 GB, free: 10.79 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.01181, allocations: 4 kB / 0.9884 GB, free: 10.78 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.01182, allocations: 8 kB / 0.9884 GB, free: 10.77 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.01184, allocations: 0 / 0.9884 GB, free: 10.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.01209, allocations: 71.91 kB / 0.9884 GB, free: 10.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.0121, allocations: 7.938 kB / 0.9884 GB, free: 10.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.0123, allocations: 59.88 kB / 0.9885 GB, free: 10.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.01232, allocations: 4 kB / 0.9885 GB, free: 10.63 MB / 0.948 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 (18): * Single equations (assignments): 18 * 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.0001049/0.01242, allocations: 129.8 kB / 0.9886 GB, free: 10.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.796e-05/0.01246, allocations: 15.91 kB / 0.9886 GB, free: 10.48 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.199e-05/0.0125, allocations: 25.8 kB / 0.9887 GB, free: 10.46 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.01251, allocations: 0 / 0.9887 GB, free: 10.46 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.01251, allocations: 3.938 kB / 0.9887 GB, free: 10.45 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.01252, allocations: 3.984 kB / 0.9887 GB, free: 10.45 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/0.01277, allocations: 220.6 kB / 0.9889 GB, free: 10.19 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01277, allocations: 4 kB / 0.9889 GB, free: 10.19 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/0.01304, allocations: 71.91 kB / 0.989 GB, free: 10.12 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.01304, allocations: 4 kB / 0.989 GB, free: 10.11 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.01306, allocations: 4 kB / 0.989 GB, free: 10.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.01306, allocations: 0 / 0.989 GB, free: 10.11 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.01306, allocations: 3.938 kB / 0.989 GB, free: 10.11 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.01439, allocations: 0.6296 MB / 0.9896 GB, free: 9.461 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.516e-05/0.01441, allocations: 20 kB / 0.9896 GB, free: 9.441 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.01444, allocations: 0 / 0.9896 GB, free: 9.441 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.01465, allocations: 55.92 kB / 0.9897 GB, free: 9.387 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.68e-05/0.01473, allocations: 27.91 kB / 0.9897 GB, free: 9.359 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.01474, allocations: 3.938 kB / 0.9897 GB, free: 9.355 MB / 0.948 GB Notification: Performance of sorting global known variables: time 9.213e-05/0.01484, allocations: 131.2 kB / 0.9898 GB, free: 9.227 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.01484, allocations: 0 / 0.9898 GB, free: 9.227 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002819/0.01512, allocations: 51.83 kB / 0.9899 GB, free: 9.176 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (sleRatLim.y) * 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 (17): * Single equations (assignments): 17 * 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.001442/0.01656, allocations: 1.171 MB / 0.991 GB, free: 7.98 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006495/0.01721, allocations: 319.7 kB / 0.9913 GB, free: 7.668 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01721, allocations: 0 / 0.9913 GB, free: 7.668 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002987/0.01751, allocations: 167.8 kB / 0.9915 GB, free: 7.504 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.01783, allocations: 41.31 kB / 0.9915 GB, free: 7.469 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002945/0.02077, allocations: 2.54 MB / 0.994 GB, free: 4.844 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.915e-05/0.02085, allocations: 116.1 kB / 0.9941 GB, free: 4.711 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.122e-05/0.02092, allocations: 13.14 kB / 0.9941 GB, free: 4.699 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.873e-05/0.02101, allocations: 60.48 kB / 0.9942 GB, free: 4.641 MB / 0.948 GB Notification: Performance of SimCode: time 8.01e-07/0.02101, allocations: 0 / 0.9942 GB, free: 4.641 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02316/0.04417, allocations: 5.648 MB / 0.9997 GB, free: 15.19 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.793/6.838, allocations: 18.34 kB / 0.9997 GB, free: 15.17 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.csv --start-time 0 --stop-time 480 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.192 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable sleRatLim.u in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.csv. Warning: Get data of variable sleRatLim.u from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.csv failed! " [Timeout remaining time 300] "" Variables in the reference:time,sleRatLim.u,sleRatLim.y Variables in the result:time,sleRatLim.y [Calling sys.exit(0), Time elapsed: 11.10801718197763]