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.001355/0.001355, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.00184/0.00184, allocations: 220.5 kB / 23.03 MB, free: 4.945 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.222/3.222, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="cs",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.00195/0.00195, allocations: 64.41 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3257, allocations: 176.1 MB / 1.327 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002404/0.3281, allocations: 1.017 MB / 1.328 GB, free: 472 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.3296, allocations: 0.995 MB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.3297, allocations: 4 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.009e-05/0.3297, allocations: 19.73 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001721/0.3299, allocations: 35.66 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/0.3301, allocations: 71.84 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000311/0.3304, allocations: 231.4 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.3306, allocations: 61.44 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.3308, allocations: 99.62 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.331, allocations: 103.5 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.639e-05/0.331, allocations: 20 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.484e-05/0.331, allocations: 20 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.558e-05/0.3311, allocations: 51.81 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.299e-05/0.3312, allocations: 71.59 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002815/0.3315, allocations: 227 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3315, allocations: 0 / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3315, allocations: 0 / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.3315, allocations: 4 kB / 1.33 GB, free: 14.45 MB / 1.029 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.001175/0.3327, allocations: 493.2 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3327, allocations: 12.03 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.337e-05/0.3327, allocations: 8.172 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.151e-05/0.3328, allocations: 46.75 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.62e-05/0.3328, allocations: 24.8 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.3331, allocations: 170.1 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.3331, allocations: 16.31 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.3331, allocations: 12.38 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000809/0.3339, allocations: 254.3 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.3339, allocations: 3.938 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.334, allocations: 4 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.334, allocations: 4 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.3351, allocations: 291.6 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007192/0.3358, allocations: 419.6 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000766/0.3366, allocations: 238.3 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006216/0.3372, allocations: 188.7 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.3372, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.3373, allocations: 42.5 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 1.102e-06/0.3373, allocations: 0 / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.001821/0.3391, allocations: 0.4994 MB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.3391, allocations: 55.41 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.3393, allocations: 174.3 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.3393, allocations: 29.7 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.9e-05/0.3394, allocations: 124.4 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.443e-05/0.3395, allocations: 63.47 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.958e-05/0.3396, allocations: 33.72 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.3397, allocations: 330.8 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005566/0.3403, allocations: 139.8 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006161/0.3409, allocations: 233.7 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.342, allocations: 302 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.342, allocations: 0 / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00119/0.3432, allocations: 358.4 kB / 1.334 GB, free: 9.75 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.3432, allocations: 11.94 kB / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3432, allocations: 0 / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.3432, allocations: 0 / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004032/0.3436, allocations: 83.84 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.3436, allocations: 0 / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000295/0.3439, allocations: 59.81 kB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.3439, allocations: 12 kB / 1.334 GB, free: 9.586 MB / 1.029 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.0001211/0.3441, allocations: 121.8 kB / 1.334 GB, free: 9.457 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.702e-05/0.3441, allocations: 23.78 kB / 1.334 GB, free: 9.434 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.31e-05/0.3442, allocations: 25.8 kB / 1.334 GB, free: 9.402 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3442, allocations: 0 / 1.334 GB, free: 9.402 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3442, allocations: 0 / 1.334 GB, free: 9.402 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3442, allocations: 4 kB / 1.334 GB, free: 9.398 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.3445, allocations: 212.6 kB / 1.335 GB, free: 9.148 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3445, allocations: 0 / 1.335 GB, free: 9.148 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003972/0.3449, allocations: 83.84 kB / 1.335 GB, free: 9.066 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.315e-06/0.3449, allocations: 7.922 kB / 1.335 GB, free: 9.059 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.3449, allocations: 4 kB / 1.335 GB, free: 9.055 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3449, allocations: 0 / 1.335 GB, free: 9.055 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3449, allocations: 3.938 kB / 1.335 GB, free: 9.051 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/0.3468, allocations: 0.631 MB / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.135e-05/0.3468, allocations: 19.88 kB / 1.335 GB, free: 8.387 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.485e-05/0.3468, allocations: 11.94 kB / 1.335 GB, free: 8.375 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003191/0.3472, allocations: 55.92 kB / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.678e-05/0.3473, allocations: 23.97 kB / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.3473, allocations: 7.984 kB / 1.335 GB, free: 8.289 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001144/0.3474, allocations: 127.1 kB / 1.335 GB, free: 8.164 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3474, allocations: 0 / 1.335 GB, free: 8.164 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000324/0.3477, allocations: 43.95 kB / 1.335 GB, free: 8.121 MB / 1.029 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.002403/0.3501, allocations: 1.172 MB / 1.337 GB, free: 6.922 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00124/0.3513, allocations: 321.5 kB / 1.337 GB, free: 6.609 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3514, allocations: 0 / 1.337 GB, free: 6.609 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009311/0.3523, allocations: 171.8 kB / 1.337 GB, free: 6.441 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007136/0.353, allocations: 31.98 kB / 1.337 GB, free: 6.41 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005885/0.3589, allocations: 2.521 MB / 1.34 GB, free: 3.812 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.359, allocations: 116 kB / 1.34 GB, free: 3.684 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001032/0.3591, allocations: 13.08 kB / 1.34 GB, free: 3.668 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.3592, allocations: 63.41 kB / 1.34 GB, free: 3.605 MB / 1.029 GB Notification: Performance of SimCode: time 5.91e-07/0.3592, allocations: 0 / 1.34 GB, free: 3.605 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02777/0.387, allocations: 5.112 MB / 1.345 GB, free: 14.7 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.5, allocations: 8.078 kB / 1.345 GB, free: 14.7 MB / 1.045 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate_fmu --startTime=0 --stopTime=480 --stepSize=0.192 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.csv","/var/lib/jenkins1/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.540853405022062]