Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 112.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 225.6 MB / 249.3 MB, free: 3.191 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.347/2.347, allocations: 443.5 MB / 0.7304 GB, free: 13.9 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 71.89 kB / 1.059 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2745, allocations: 160.7 MB / 1.216 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.00224/0.2767, allocations: 1.095 MB / 1.217 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.278, allocations: 0.9763 MB / 1.218 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.773e-05/0.2781, allocations: 4 kB / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.349e-05/0.2781, allocations: 15.75 kB / 1.218 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001548/0.2783, allocations: 43.58 kB / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.2785, allocations: 63.91 kB / 1.218 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002859/0.2788, allocations: 227.4 kB / 1.218 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.2789, allocations: 57.05 kB / 1.218 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.2791, allocations: 103.6 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.2793, allocations: 103.6 kB / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.622e-05/0.2793, allocations: 23.94 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.718e-05/0.2794, allocations: 16 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.002e-05/0.2794, allocations: 47.89 kB / 1.218 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.961e-05/0.2795, allocations: 87.45 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.2798, allocations: 223 kB / 1.219 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2798, allocations: 0 / 1.219 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2798, allocations: 0 / 1.219 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.2798, allocations: 3.938 kB / 1.219 GB, free: 12.77 MB / 0.9669 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.001201/0.281, allocations: 0.5647 MB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.281, allocations: 12.03 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.221e-05/0.2811, allocations: 50.73 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.532e-05/0.2811, allocations: 20.8 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.2814, allocations: 231.9 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.2814, allocations: 12.38 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.2815, allocations: 12.38 kB / 1.219 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007496/0.2822, allocations: 238 kB / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.2822, allocations: 3.938 kB / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.2822, allocations: 8 kB / 1.22 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.2822, allocations: 4 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.2833, allocations: 291.7 kB / 1.22 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007097/0.2841, allocations: 496.3 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007545/0.2848, allocations: 238.4 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006129/0.2854, allocations: 188.6 kB / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.2855, allocations: 0 / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.2855, allocations: 38.56 kB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=17): time 1.062e-06/0.2855, allocations: 0 / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=17): time 0.001877/0.2874, allocations: 0.4953 MB / 1.221 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.2874, allocations: 55.41 kB / 1.221 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.2876, allocations: 183.3 kB / 1.222 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.2876, allocations: 33.7 kB / 1.222 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.681e-05/0.2877, allocations: 128.4 kB / 1.222 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.293e-05/0.2878, allocations: 59.47 kB / 1.222 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.192e-05/0.2878, allocations: 33.7 kB / 1.222 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.288, allocations: 326.8 kB / 1.222 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005801/0.2886, allocations: 151.8 kB / 1.222 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005945/0.2891, allocations: 178.4 kB / 1.223 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.2902, allocations: 302.2 kB / 1.223 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2902, allocations: 3.938 kB / 1.223 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001228/0.2915, allocations: 371.2 kB / 1.223 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.2915, allocations: 4 kB / 1.223 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.2915, allocations: 3.938 kB / 1.223 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.2915, allocations: 0 / 1.223 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004092/0.2919, allocations: 83.84 kB / 1.223 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.2919, allocations: 0 / 1.223 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003057/0.2922, allocations: 59.88 kB / 1.223 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.2922, allocations: 4 kB / 1.223 GB, free: 7.727 MB / 0.9669 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.0001189/0.2924, allocations: 125.8 kB / 1.223 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.848e-05/0.2924, allocations: 15.91 kB / 1.223 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.865e-05/0.2925, allocations: 29.8 kB / 1.223 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.2925, allocations: 7.875 kB / 1.223 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.2925, allocations: 4 kB / 1.223 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2925, allocations: 0 / 1.223 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002946/0.2928, allocations: 269.4 kB / 1.224 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.2928, allocations: 0 / 1.224 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003927/0.2932, allocations: 83.91 kB / 1.224 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.2932, allocations: 0 / 1.224 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.2932, allocations: 11.92 kB / 1.224 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2932, allocations: 0 / 1.224 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2932, allocations: 0 / 1.224 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/0.295, allocations: 0.6335 MB / 1.224 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.719e-05/0.2951, allocations: 92.98 kB / 1.225 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/0.2951, allocations: 7.938 kB / 1.225 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003065/0.2954, allocations: 51.92 kB / 1.225 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.679e-05/0.2955, allocations: 23.97 kB / 1.225 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.2955, allocations: 4 kB / 1.225 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001046/0.2956, allocations: 136.5 kB / 1.225 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.2956, allocations: 0 / 1.225 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002665/0.2959, allocations: 35.95 kB / 1.225 GB, free: 6.121 MB / 0.9669 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.002174/0.2981, allocations: 1.174 MB / 1.226 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001191/0.2993, allocations: 327.7 kB / 1.226 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2993, allocations: 0 / 1.226 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005837/0.2998, allocations: 159.8 kB / 1.226 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.3002, allocations: 38.31 kB / 1.226 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004632/0.3048, allocations: 2.537 MB / 1.229 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.3052, allocations: 0.7356 MB / 1.23 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.779e-05/0.3052, allocations: 9.078 kB / 1.23 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.3054, allocations: 67.42 kB / 1.23 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of SimCode: time 6.62e-07/0.3054, allocations: 0 / 1.23 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02861/0.334, allocations: 4.695 MB / 1.234 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.153/7.487, allocations: 0.5 kB / 1.234 GB, free: 12.37 MB / 0.9825 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.csv. Warning: Get data of variable sleRatLim.u from file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.782196702995861]