Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008857/0.0008857, 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.0009533/0.0009533, allocations: 169.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.9121/0.9121, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.77/1.77, allocations: 389 MB / 0.633 GB, free: 12.7 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.Validation.LimitSlewRate,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.9997 GB, free: 13.4 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.934e-05/2.134e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.4 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.001618/0.001639, allocations: 1.01 MB / 1.001 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.002693, allocations: 0.9917 MB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.453e-05/0.002758, allocations: 4 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.169e-05/0.002799, allocations: 15.75 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.002918, allocations: 47.58 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.003105, allocations: 75.78 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.003296, allocations: 227.3 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.003421, allocations: 49.2 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.003551, allocations: 127.8 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.003651, allocations: 87.75 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.003683, allocations: 16 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.852e-05/0.003701, allocations: 20 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.185e-05/0.003733, allocations: 43.84 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.575e-05/0.003779, allocations: 67.81 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.003968, allocations: 231.2 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.00397, allocations: 0 / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.92e-07/0.003971, allocations: 0 / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.003975, allocations: 0 / 1.003 GB, free: 10.39 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006926/0.004668, allocations: 0.4894 MB / 1.003 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.004707, allocations: 12.75 kB / 1.003 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.64e-05/0.004743, allocations: 46.73 kB / 1.003 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.004778, allocations: 20.8 kB / 1.003 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.00495, allocations: 178.7 kB / 1.003 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.004963, allocations: 12.36 kB / 1.003 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.004988, allocations: 12.38 kB / 1.003 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004012/0.00539, allocations: 246 kB / 1.004 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.005397, allocations: 192 / 1.004 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.005412, allocations: 8.312 kB / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.005423, allocations: 8.125 kB / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005474/0.00597, allocations: 291.7 kB / 1.004 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004826/0.006453, allocations: 423.5 kB / 1.004 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005761/0.007029, allocations: 234.4 kB / 1.005 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003067/0.007336, allocations: 183.4 kB / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.00736, allocations: 4 kB / 1.005 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.007379, allocations: 38.41 kB / 1.005 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=17): time 1.082e-06/0.00738, allocations: 0 / 1.005 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of matching and sorting (n=17): time 0.0009485/0.008329, allocations: 0.4911 MB / 1.005 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.008357, allocations: 59.34 kB / 1.005 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.008466, allocations: 179.5 kB / 1.005 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.008481, allocations: 25.7 kB / 1.006 GB, free: 7.305 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.589e-05/0.008537, allocations: 136.4 kB / 1.006 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.008576, allocations: 59.48 kB / 1.006 GB, free: 7.109 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.723e-05/0.008624, allocations: 37.7 kB / 1.006 GB, free: 7.066 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.163e-05/0.008695, allocations: 322.8 kB / 1.006 GB, free: 6.742 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/0.008977, allocations: 155.7 kB / 1.006 GB, free: 6.59 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003116/0.009289, allocations: 225.8 kB / 1.006 GB, free: 6.348 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005446/0.009833, allocations: 302.1 kB / 1.007 GB, free: 6.051 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.009835, allocations: 3.938 kB / 1.007 GB, free: 6.047 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006074/0.01044, allocations: 362.9 kB / 1.007 GB, free: 5.688 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.01045, allocations: 8 kB / 1.007 GB, free: 5.68 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.01046, allocations: 0 / 1.007 GB, free: 5.68 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.01047, allocations: 0 / 1.007 GB, free: 5.68 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.01067, allocations: 79.84 kB / 1.007 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.01068, allocations: 3.938 kB / 1.007 GB, free: 5.598 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.01081, allocations: 63.88 kB / 1.007 GB, free: 5.535 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.01082, allocations: 0 / 1.007 GB, free: 5.535 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 (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 7.256e-05/0.0109, allocations: 129.8 kB / 1.007 GB, free: 5.398 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/0.01092, allocations: 15.91 kB / 1.007 GB, free: 5.383 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.01095, allocations: 21.81 kB / 1.007 GB, free: 5.355 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.01095, allocations: 7.938 kB / 1.007 GB, free: 5.348 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.01095, allocations: 3.938 kB / 1.007 GB, free: 5.344 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.01096, allocations: 0 / 1.007 GB, free: 5.344 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.01112, allocations: 220.6 kB / 1.008 GB, free: 5.086 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.01112, allocations: 0 / 1.008 GB, free: 5.086 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.01131, allocations: 79.84 kB / 1.008 GB, free: 5.008 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.01131, allocations: 0 / 1.008 GB, free: 5.008 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.01132, allocations: 4 kB / 1.008 GB, free: 5.004 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.01132, allocations: 0 / 1.008 GB, free: 5.004 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01132, allocations: 7.938 kB / 1.008 GB, free: 4.996 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009571/0.01228, allocations: 0.6324 MB / 1.008 GB, free: 4.348 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.59e-05/0.0123, allocations: 15.89 kB / 1.008 GB, free: 4.332 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.01232, allocations: 0 / 1.008 GB, free: 4.332 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.01246, allocations: 51.92 kB / 1.008 GB, free: 4.281 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.331e-05/0.01253, allocations: 31.89 kB / 1.008 GB, free: 4.25 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.01254, allocations: 7.984 kB / 1.008 GB, free: 4.242 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.013e-05/0.0126, allocations: 128.4 kB / 1.009 GB, free: 4.117 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.0126, allocations: 4.062 kB / 1.009 GB, free: 4.113 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001713/0.01277, allocations: 39.94 kB / 1.009 GB, free: 4.074 MB / 0.9636 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.001107/0.01387, allocations: 1.171 MB / 1.01 GB, free: 2.879 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0006213/0.01449, allocations: 321.3 kB / 1.01 GB, free: 2.566 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.0145, allocations: 4 kB / 1.01 GB, free: 2.562 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002967/0.01479, allocations: 167.8 kB / 1.01 GB, free: 2.398 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.01505, allocations: 43.84 kB / 1.01 GB, free: 2.355 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/0.01768, allocations: 2.535 MB / 1.013 GB, free: 15.74 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.625e-05/0.01775, allocations: 112.1 kB / 1.013 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 6.462e-05/0.01781, allocations: 17.14 kB / 1.013 GB, free: 15.6 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.182e-05/0.01789, allocations: 56.48 kB / 1.013 GB, free: 15.54 MB / 0.9792 GB Notification: Performance of SimCode: time 5.41e-07/0.01789, allocations: 3.938 kB / 1.013 GB, free: 15.54 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01842/0.03631, allocations: 5.644 MB / 1.018 GB, free: 10.07 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.804/6.841, allocations: 6.828 kB / 1.018 GB, free: 10.06 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.csv --start-time 0 --stop-time 480 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.192 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.csv. Warning: Get data of variable sleRatLim.u from file Buildings_latest_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.099693574942648]