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.001141/0.001141, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008446/0.0008446, allocations: 178.2 kB / 23.21 MB, free: 1.352 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.8834/0.8834, allocations: 177.2 MB / 203.5 MB, free: 5.449 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.651/1.651, allocations: 359 MB / 0.6044 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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 0.9518 GB, free: 1.777 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.718e-05, allocations: 4.531 kB / 0.9518 GB, free: 1.773 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002404/0.002431, allocations: 1.01 MB / 0.9528 GB, free: 0.7578 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.00384, allocations: 0.9956 MB / 0.9538 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.376e-05/0.003924, allocations: 4 kB / 0.9538 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 5.303e-05/0.003977, allocations: 19.73 kB / 0.9538 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.004131, allocations: 39.59 kB / 0.9538 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.00437, allocations: 83.7 kB / 0.9539 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0002607/0.004631, allocations: 227.3 kB / 0.9541 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.004791, allocations: 45.2 kB / 0.9542 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.004974, allocations: 135.7 kB / 0.9543 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.005114, allocations: 91.75 kB / 0.9544 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 4.435e-05/0.005158, allocations: 16 kB / 0.9544 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 2.806e-05/0.005186, allocations: 20 kB / 0.9544 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 4.549e-05/0.005231, allocations: 43.83 kB / 0.9545 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 6.846e-05/0.0053, allocations: 59.83 kB / 0.9545 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.005559, allocations: 231.2 kB / 0.9547 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.005562, allocations: 4 kB / 0.9547 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.203e-06/0.005563, allocations: 0 / 0.9547 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.343e-06/0.005571, allocations: 0 / 0.9547 GB, free: 14.75 MB / 0.8698 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.000919/0.00649, allocations: 0.4972 MB / 0.9552 GB, free: 14.22 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.006532, allocations: 12.03 kB / 0.9552 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.292e-05/0.006595, allocations: 20.8 kB / 0.9553 GB, free: 14.19 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.006832, allocations: 165.4 kB / 0.9554 GB, free: 14 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.006851, allocations: 16.38 kB / 0.9554 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.745e-05/0.006889, allocations: 12.38 kB / 0.9555 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006324/0.007521, allocations: 238.8 kB / 0.9557 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.007532, allocations: 192 / 0.9557 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.007553, allocations: 12.31 kB / 0.9557 GB, free: 13.72 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.007561, allocations: 4.375 kB / 0.9557 GB, free: 13.72 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008931/0.008454, allocations: 287.6 kB / 0.956 GB, free: 13.44 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006891/0.009143, allocations: 396.1 kB / 0.9563 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006199/0.009763, allocations: 230.4 kB / 0.9566 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004939/0.01026, allocations: 190 kB / 0.9567 GB, free: 12.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.01029, allocations: 4 kB / 0.9568 GB, free: 12.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.01031, allocations: 34.5 kB / 0.9568 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=17): time 1.633e-06/0.01031, allocations: 4 kB / 0.9568 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of matching and sorting (n=17): time 0.001644/0.01196, allocations: 0.4935 MB / 0.9573 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.012, allocations: 55.41 kB / 0.9573 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.0122, allocations: 172.8 kB / 0.9575 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.01224, allocations: 29.7 kB / 0.9575 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.275e-05/0.0123, allocations: 132.5 kB / 0.9576 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.757e-05/0.01235, allocations: 59.47 kB / 0.9577 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-05/0.0124, allocations: 29.72 kB / 0.9577 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.886e-05/0.01248, allocations: 334.8 kB / 0.958 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002927/0.01277, allocations: 143.8 kB / 0.9582 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003116/0.01308, allocations: 233.7 kB / 0.9584 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005323/0.01361, allocations: 303.1 kB / 0.9587 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01362, allocations: 0 / 0.9587 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006073/0.01422, allocations: 369.1 kB / 0.959 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.01424, allocations: 6.5 kB / 0.9591 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.01425, allocations: 0 / 0.9591 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.01426, allocations: 4 kB / 0.9591 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.01447, allocations: 79.84 kB / 0.9591 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.01448, allocations: 0 / 0.9591 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.01462, allocations: 63.8 kB / 0.9592 GB, free: 10 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.01463, allocations: 8 kB / 0.9592 GB, free: 9.996 MB / 0.8698 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 7.694e-05/0.01471, allocations: 117.8 kB / 0.9593 GB, free: 9.871 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.01473, allocations: 19.86 kB / 0.9593 GB, free: 9.852 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.133e-05/0.01476, allocations: 29.8 kB / 0.9594 GB, free: 9.824 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.01477, allocations: 4 kB / 0.9594 GB, free: 9.82 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.01477, allocations: 0 / 0.9594 GB, free: 9.82 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.01478, allocations: 0 / 0.9594 GB, free: 9.82 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.01493, allocations: 181.2 kB / 0.9595 GB, free: 9.613 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.01494, allocations: 0 / 0.9595 GB, free: 9.613 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.01512, allocations: 79.84 kB / 0.9596 GB, free: 9.535 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.01512, allocations: 0 / 0.9596 GB, free: 9.535 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.01514, allocations: 8 kB / 0.9596 GB, free: 9.527 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.01514, allocations: 4 kB / 0.9596 GB, free: 9.523 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.01514, allocations: 3.984 kB / 0.9596 GB, free: 9.52 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009664/0.01611, allocations: 0.6354 MB / 0.9603 GB, free: 8.867 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.539e-05/0.01613, allocations: 19.88 kB / 0.9603 GB, free: 8.848 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.01615, allocations: 0 / 0.9603 GB, free: 8.848 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.01632, allocations: 55.98 kB / 0.9603 GB, free: 8.793 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.247e-05/0.01638, allocations: 27.95 kB / 0.9603 GB, free: 8.766 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.01639, allocations: 8 kB / 0.9604 GB, free: 8.758 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.061e-05/0.01646, allocations: 128.3 kB / 0.9605 GB, free: 8.633 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01646, allocations: 0 / 0.9605 GB, free: 8.633 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001742/0.01663, allocations: 43.89 kB / 0.9605 GB, free: 8.59 MB / 0.8698 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.0001056/0.01674, allocations: 103.7 kB / 0.9606 GB, free: 8.48 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006175/0.01735, allocations: 325.9 kB / 0.9609 GB, free: 8.164 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01735, allocations: 0 / 0.9609 GB, free: 8.164 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002971/0.01765, allocations: 171.8 kB / 0.9611 GB, free: 7.996 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.01794, allocations: 35.89 kB / 0.9611 GB, free: 7.961 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005163/0.01845, allocations: 389.7 kB / 0.9615 GB, free: 7.551 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.394e-05/0.01852, allocations: 120 kB / 0.9616 GB, free: 7.41 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.809e-05/0.01859, allocations: 16.5 kB / 0.9616 GB, free: 7.395 MB / 0.8698 GB Notification: Performance of SimCode: time 3.81e-07/0.01859, allocations: 0 / 0.9616 GB, free: 7.395 MB / 0.8698 GB Notification: Performance of Templates: time 0.002705/0.02129, allocations: 2.687 MB / 0.9643 GB, free: 4.734 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) [Timeout 400] 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: 6.42775964923203]