Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008244/0.0008244, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.00084/0.00084, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9178/0.9178, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.701/1.701, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.Validation.LimitSlewRate,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.856e-06/2.856e-06, allocations: 0 / 0.9506 GB, free: 3.445 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.415e-05/2.7e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.441 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002448/0.002475, allocations: 1.01 MB / 0.9516 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.003934, allocations: 0.9956 MB / 0.9525 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.841e-05/0.004023, allocations: 0 / 0.9525 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 5.426e-05/0.004077, allocations: 19.69 kB / 0.9526 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001625/0.00424, allocations: 43.59 kB / 0.9526 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.004476, allocations: 67.89 kB / 0.9527 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002767/0.004752, allocations: 235.3 kB / 0.9529 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.004926, allocations: 49.2 kB / 0.9529 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.005108, allocations: 131.7 kB / 0.9531 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.005244, allocations: 83.75 kB / 0.9531 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 4.682e-05/0.005291, allocations: 20 kB / 0.9532 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 2.77e-05/0.005318, allocations: 20 kB / 0.9532 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.181e-05/0.00536, allocations: 47.78 kB / 0.9532 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 6.46e-05/0.005425, allocations: 63.81 kB / 0.9533 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.00567, allocations: 223.2 kB / 0.9535 GB, free: 436 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.005672, allocations: 0 / 0.9535 GB, free: 436 kB / 0.9011 GB Notification: Performance of FrontEnd: time 2.595e-06/0.005675, allocations: 8 kB / 0.9535 GB, free: 428 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.00568, allocations: 0 / 0.9535 GB, free: 428 kB / 0.9011 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.0009712/0.006651, allocations: 0.4911 MB / 0.954 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.006693, allocations: 12.03 kB / 0.954 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.355e-05/0.006746, allocations: 50.67 kB / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.347e-05/0.0068, allocations: 28.73 kB / 0.9541 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.007022, allocations: 161.5 kB / 0.9542 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.00704, allocations: 12.38 kB / 0.9542 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.415e-05/0.007074, allocations: 12.38 kB / 0.9542 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006432/0.007717, allocations: 249.9 kB / 0.9545 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.007727, allocations: 192 / 0.9545 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.007751, allocations: 4.375 kB / 0.9545 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.007759, allocations: 8.125 kB / 0.9545 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009059/0.008665, allocations: 288.5 kB / 0.9548 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007277/0.009392, allocations: 423.5 kB / 0.9552 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006565/0.01005, allocations: 250.2 kB / 0.9554 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005101/0.01056, allocations: 187.9 kB / 0.9556 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.01059, allocations: 0 / 0.9556 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.01061, allocations: 34.56 kB / 0.9556 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=17): time 1.433e-06/0.01061, allocations: 0 / 0.9556 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of matching and sorting (n=17): time 0.001556/0.01217, allocations: 0.492 MB / 0.9561 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.01221, allocations: 59.34 kB / 0.9562 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.01237, allocations: 180.7 kB / 0.9563 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.0124, allocations: 25.7 kB / 0.9564 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 7.908e-05/0.01247, allocations: 128.5 kB / 0.9565 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 6.02e-05/0.01253, allocations: 67.41 kB / 0.9565 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.627e-05/0.01261, allocations: 37.72 kB / 0.9566 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.01273, allocations: 326.8 kB / 0.9569 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004724/0.0132, allocations: 147.8 kB / 0.957 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005017/0.0137, allocations: 229.8 kB / 0.9573 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008972/0.0146, allocations: 299.4 kB / 0.9575 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.0146, allocations: 0 / 0.9575 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00101/0.01561, allocations: 365.1 kB / 0.9579 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.01563, allocations: 8 kB / 0.9579 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.01563, allocations: 0 / 0.9579 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.01565, allocations: 4 kB / 0.9579 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000302/0.01595, allocations: 75.84 kB / 0.958 GB, free: 11.63 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.01596, allocations: 7.938 kB / 0.958 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.01617, allocations: 55.88 kB / 0.958 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.01619, allocations: 8 kB / 0.958 GB, free: 11.56 MB / 0.9167 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.0001038/0.01629, allocations: 129.8 kB / 0.9582 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.952e-05/0.01633, allocations: 15.91 kB / 0.9582 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.322e-05/0.01637, allocations: 25.8 kB / 0.9582 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01638, allocations: 0 / 0.9582 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.01638, allocations: 3.938 kB / 0.9582 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.01639, allocations: 4 kB / 0.9582 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.01665, allocations: 216.5 kB / 0.9584 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01665, allocations: 0 / 0.9584 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003096/0.01696, allocations: 79.91 kB / 0.9585 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01697, allocations: 4 kB / 0.9585 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.01698, allocations: 4 kB / 0.9585 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.01698, allocations: 0 / 0.9585 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.01699, allocations: 3.938 kB / 0.9585 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/0.01852, allocations: 0.6266 MB / 0.9591 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.81e-05/0.01855, allocations: 19.94 kB / 0.9591 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/0.01858, allocations: 4.062 kB / 0.9591 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/0.01883, allocations: 51.92 kB / 0.9592 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.521e-05/0.01893, allocations: 31.89 kB / 0.9592 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.01894, allocations: 4 kB / 0.9592 GB, free: 10.28 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001011/0.01904, allocations: 132.3 kB / 0.9594 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01904, allocations: 0 / 0.9594 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002901/0.01933, allocations: 39.89 kB / 0.9594 GB, free: 10.11 MB / 0.9167 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.001633/0.02096, allocations: 1.173 MB / 0.9605 GB, free: 8.91 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000674/0.02164, allocations: 325.9 kB / 0.9608 GB, free: 8.594 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.02164, allocations: 0 / 0.9608 GB, free: 8.594 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002977/0.02194, allocations: 171.8 kB / 0.961 GB, free: 8.426 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.02221, allocations: 35.92 kB / 0.961 GB, free: 8.391 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003002/0.02521, allocations: 2.542 MB / 0.9635 GB, free: 5.77 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.956e-05/0.02529, allocations: 116 kB / 0.9636 GB, free: 5.633 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 6.875e-05/0.02536, allocations: 17.14 kB / 0.9637 GB, free: 5.617 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.489e-05/0.02545, allocations: 56.48 kB / 0.9637 GB, free: 5.562 MB / 0.9167 GB Notification: Performance of SimCode: time 7.72e-07/0.02545, allocations: 0 / 0.9637 GB, free: 5.562 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0184/0.04386, allocations: 5.65 MB / 0.9692 GB, free: 104 kB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.807/6.851, allocations: 19 kB / 0.9692 GB, free: 88 kB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.csv. Warning: Get data of variable sleRatLim.u from file Buildings_11_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.023833753541112]