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.001339/0.001339, allocations: 106.4 kB / 16.45 MB, free: 6.453 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.001451/0.001451, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.507/1.507, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.246/3.246, allocations: 0.49 GB / 0.7916 GB, free: 33.45 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="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: 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.002087/0.002087, allocations: 77.95 kB / 1.149 GB, free: 26.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3606, allocations: 176.1 MB / 1.321 GB, free: 3.422 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002974/0.3636, allocations: 1.094 MB / 1.322 GB, free: 2.324 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001715/0.3653, allocations: 0.9988 MB / 1.323 GB, free: 1.312 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.3654, allocations: 4 kB / 1.323 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.899e-05/0.3655, allocations: 23.67 kB / 1.323 GB, free: 1.285 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002063/0.3657, allocations: 35.66 kB / 1.323 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.366, allocations: 71.84 kB / 1.323 GB, free: 1.18 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003265/0.3663, allocations: 223.4 kB / 1.323 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.3665, allocations: 61.05 kB / 1.323 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.3667, allocations: 95.62 kB / 1.323 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.3669, allocations: 107.6 kB / 1.324 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.458e-05/0.3669, allocations: 20 kB / 1.324 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.413e-05/0.367, allocations: 20 kB / 1.324 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.869e-05/0.367, allocations: 43.84 kB / 1.324 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.3672, allocations: 91.45 kB / 1.324 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003377/0.3675, allocations: 223 kB / 1.324 GB, free: 316 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.3675, allocations: 4 kB / 1.324 GB, free: 312 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3675, allocations: 0 / 1.324 GB, free: 312 kB / 1.014 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.3675, allocations: 0 / 1.324 GB, free: 312 kB / 1.014 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.001494/0.369, allocations: 0.5647 MB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.3691, allocations: 11.98 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.268e-05/0.3691, allocations: 42.75 kB / 1.325 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.778e-05/0.3692, allocations: 32.73 kB / 1.325 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.3695, allocations: 227.9 kB / 1.325 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.3695, allocations: 8.375 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.201e-05/0.3695, allocations: 16.38 kB / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008548/0.3704, allocations: 242 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.3704, allocations: 3.938 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.3704, allocations: 4 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.3704, allocations: 4 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.3717, allocations: 295.6 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008015/0.3725, allocations: 0.4886 MB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008113/0.3733, allocations: 233 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006833/0.374, allocations: 188.1 kB / 1.326 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.615e-05/0.374, allocations: 4 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.374, allocations: 38.47 kB / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 1.282e-06/0.374, allocations: 4 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.002016/0.3761, allocations: 0.4931 MB / 1.327 GB, free: 13.25 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.3761, allocations: 55.41 kB / 1.327 GB, free: 13.19 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.3763, allocations: 174.9 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.3763, allocations: 29.7 kB / 1.327 GB, free: 12.97 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.909e-05/0.3764, allocations: 128.4 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.769e-05/0.3765, allocations: 63.47 kB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.881e-05/0.3766, allocations: 33.7 kB / 1.327 GB, free: 12.74 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001851/0.3768, allocations: 330.8 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006333/0.3774, allocations: 147.7 kB / 1.328 GB, free: 12.26 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006711/0.3781, allocations: 178.3 kB / 1.328 GB, free: 12.08 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/0.3793, allocations: 302.5 kB / 1.328 GB, free: 11.78 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.3793, allocations: 0 / 1.328 GB, free: 11.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001421/0.3808, allocations: 359.1 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.3808, allocations: 8 kB / 1.328 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.3808, allocations: 7.922 kB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.3808, allocations: 4 kB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004414/0.3813, allocations: 75.86 kB / 1.329 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.3813, allocations: 0 / 1.329 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003299/0.3816, allocations: 59.88 kB / 1.329 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.3816, allocations: 8 kB / 1.329 GB, free: 11.27 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.0001443/0.3818, allocations: 125.8 kB / 1.329 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.824e-05/0.3818, allocations: 19.8 kB / 1.329 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.75e-05/0.3819, allocations: 25.81 kB / 1.329 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.3819, allocations: 4 kB / 1.329 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3819, allocations: 0 / 1.329 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/0.3819, allocations: 7.984 kB / 1.329 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/0.3822, allocations: 273.5 kB / 1.329 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3822, allocations: 0 / 1.329 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004154/0.3827, allocations: 75.84 kB / 1.329 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3827, allocations: 0 / 1.329 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.3827, allocations: 11.94 kB / 1.329 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3827, allocations: 0 / 1.329 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.3827, allocations: 0 / 1.329 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002061/0.3847, allocations: 0.6332 MB / 1.33 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.458e-05/0.3848, allocations: 92.98 kB / 1.33 GB, free: 9.918 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/0.3849, allocations: 3.938 kB / 1.33 GB, free: 9.914 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003489/0.3852, allocations: 55.98 kB / 1.33 GB, free: 9.859 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.313e-05/0.3853, allocations: 31.89 kB / 1.33 GB, free: 9.828 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.3853, allocations: 8 kB / 1.33 GB, free: 9.82 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001204/0.3854, allocations: 131.1 kB / 1.33 GB, free: 9.691 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3854, allocations: 0 / 1.33 GB, free: 9.691 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000289/0.3857, allocations: 39.95 kB / 1.33 GB, free: 9.652 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.002497/0.3882, allocations: 1.175 MB / 1.331 GB, free: 8.449 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001313/0.3895, allocations: 319.6 kB / 1.332 GB, free: 8.137 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3895, allocations: 0 / 1.332 GB, free: 8.137 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006598/0.3902, allocations: 167.8 kB / 1.332 GB, free: 7.973 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.3906, allocations: 53.55 kB / 1.332 GB, free: 7.922 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005295/0.3959, allocations: 2.519 MB / 1.334 GB, free: 5.32 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.3963, allocations: 0.7279 MB / 1.335 GB, free: 4.566 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001059/0.3964, allocations: 17.08 kB / 1.335 GB, free: 4.551 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.3966, allocations: 59.42 kB / 1.335 GB, free: 4.492 MB / 1.029 GB Notification: Performance of SimCode: time 1.312e-06/0.3966, allocations: 0 / 1.335 GB, free: 4.492 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03959/0.4362, allocations: 4.726 MB / 1.34 GB, free: 15.9 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.323/8.759, allocations: 10.27 kB / 1.34 GB, free: 15.89 MB / 1.045 GB " [Timeout remaining time 291] (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: 15.525957667035982]