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.000781/0.000781, 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.0008928/0.0008928, allocations: 170.3 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.9117/0.9117, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.685/1.685, allocations: 359 MB / 0.6037 GB, free: 11.1 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 3.586e-06/3.586e-06, allocations: 0 / 0.9506 GB, free: 3.418 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/3.019e-05, allocations: 9.312 kB / 0.9506 GB, free: 3.41 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.001653/0.001683, allocations: 1.014 MB / 0.9516 GB, free: 2.387 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.002707, allocations: 0.9877 MB / 0.9525 GB, free: 1.387 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.416e-05/0.002772, allocations: 4 kB / 0.9525 GB, free: 1.383 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.059e-05/0.002812, allocations: 15.75 kB / 0.9526 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001347/0.002947, allocations: 47.58 kB / 0.9526 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.00314, allocations: 71.84 kB / 0.9527 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.003346, allocations: 227.3 kB / 0.9529 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.003475, allocations: 53.2 kB / 0.9529 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.003608, allocations: 135.7 kB / 0.9531 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 9.823e-05/0.003706, allocations: 75.77 kB / 0.9531 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.415e-05/0.003741, allocations: 20 kB / 0.9532 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 2.001e-05/0.003761, allocations: 20 kB / 0.9532 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.441e-05/0.003795, allocations: 47.83 kB / 0.9532 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.305e-05/0.003848, allocations: 63.81 kB / 0.9533 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.00405, allocations: 231.2 kB / 0.9535 GB, free: 400 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.004053, allocations: 4 kB / 0.9535 GB, free: 396 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.623e-06/0.004055, allocations: 0 / 0.9535 GB, free: 396 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.00406, allocations: 0 / 0.9535 GB, free: 396 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.0007668/0.004827, allocations: 0.4933 MB / 0.954 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.00487, allocations: 8.031 kB / 0.954 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.329e-05/0.004913, allocations: 50.67 kB / 0.954 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.004955, allocations: 24.8 kB / 0.9541 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.00514, allocations: 173.4 kB / 0.9542 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.005154, allocations: 8.375 kB / 0.9542 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.00518, allocations: 16.38 kB / 0.9543 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004325/0.005612, allocations: 238 kB / 0.9545 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.005621, allocations: 192 / 0.9545 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.005637, allocations: 12.31 kB / 0.9545 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.005644, allocations: 4.125 kB / 0.9545 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005729/0.006217, allocations: 296.5 kB / 0.9548 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005444/0.006761, allocations: 423.5 kB / 0.9552 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004281/0.007189, allocations: 238.3 kB / 0.9554 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003187/0.007508, allocations: 184.7 kB / 0.9556 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.007534, allocations: 0 / 0.9556 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.007554, allocations: 38.5 kB / 0.9556 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=17): time 9.72e-07/0.007555, allocations: 0 / 0.9556 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of matching and sorting (n=17): time 0.001002/0.008558, allocations: 0.4896 MB / 0.9561 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.008591, allocations: 55.34 kB / 0.9562 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.008706, allocations: 184.6 kB / 0.9563 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.008729, allocations: 33.7 kB / 0.9564 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.199e-05/0.008791, allocations: 128.5 kB / 0.9565 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.167e-05/0.008832, allocations: 59.47 kB / 0.9565 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.267e-05/0.008885, allocations: 37.7 kB / 0.9566 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.142e-05/0.008966, allocations: 326.8 kB / 0.9569 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002981/0.009265, allocations: 151.8 kB / 0.957 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000326/0.009591, allocations: 223.8 kB / 0.9572 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005598/0.01015, allocations: 302.8 kB / 0.9575 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01015, allocations: 0 / 0.9575 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000628/0.01078, allocations: 369.1 kB / 0.9579 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.01079, allocations: 4 kB / 0.9579 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.0108, allocations: 3.984 kB / 0.9579 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.01082, allocations: 4 kB / 0.9579 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.01103, allocations: 71.86 kB / 0.958 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.01103, allocations: 3.938 kB / 0.958 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.01118, allocations: 63.88 kB / 0.958 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.01119, allocations: 4 kB / 0.958 GB, free: 11.53 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 8.653e-05/0.01128, allocations: 129.8 kB / 0.9582 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.0113, allocations: 15.91 kB / 0.9582 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.157e-05/0.01134, allocations: 17.81 kB / 0.9582 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.01134, allocations: 4 kB / 0.9582 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.01134, allocations: 3.938 kB / 0.9582 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.01135, allocations: 7.984 kB / 0.9582 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.01153, allocations: 220.5 kB / 0.9584 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01153, allocations: 0 / 0.9584 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.01173, allocations: 75.84 kB / 0.9585 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.01174, allocations: 0 / 0.9585 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.01175, allocations: 8 kB / 0.9585 GB, free: 11 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.01175, allocations: 0 / 0.9585 GB, free: 11 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.01175, allocations: 3.938 kB / 0.9585 GB, free: 11 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.01277, allocations: 0.6344 MB / 0.9591 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.891e-05/0.01279, allocations: 11.94 kB / 0.9591 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.01281, allocations: 4 kB / 0.9591 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.01296, allocations: 51.92 kB / 0.9592 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.917e-05/0.01303, allocations: 27.89 kB / 0.9592 GB, free: 10.26 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.01304, allocations: 7.938 kB / 0.9592 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.051e-05/0.01311, allocations: 136.4 kB / 0.9594 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01311, allocations: 0 / 0.9594 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001819/0.01329, allocations: 43.89 kB / 0.9594 GB, free: 10.07 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.001219/0.01451, allocations: 1.169 MB / 0.9605 GB, free: 8.875 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000666/0.01518, allocations: 321.8 kB / 0.9608 GB, free: 8.562 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.01518, allocations: 4 kB / 0.9608 GB, free: 8.559 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003085/0.01549, allocations: 163.8 kB / 0.961 GB, free: 8.398 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.01582, allocations: 39.92 kB / 0.961 GB, free: 8.359 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002841/0.01866, allocations: 2.537 MB / 0.9635 GB, free: 5.742 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.654e-05/0.01874, allocations: 116.1 kB / 0.9636 GB, free: 5.605 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 7.713e-05/0.01881, allocations: 17.12 kB / 0.9636 GB, free: 5.59 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.609e-05/0.01891, allocations: 60.48 kB / 0.9637 GB, free: 5.531 MB / 0.9167 GB Notification: Performance of SimCode: time 7.52e-07/0.01891, allocations: 3.938 kB / 0.9637 GB, free: 5.527 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02137/0.04028, allocations: 5.645 MB / 0.9692 GB, free: 76 kB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.723/6.763, allocations: 14.61 kB / 0.9692 GB, free: 64 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate_fmu --startTime=0 --stopTime=480 --stepSize=0.192 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.842694883234799]