Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 114.3 kB / 16.37 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 195.4 kB / 17.3 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.279/2.279, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 65.61 kB / 0.814 GB, free: 32.76 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2817, allocations: 140.4 MB / 0.9511 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate): time 0.00245/0.2841, allocations: 1.098 MB / 0.9522 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.2854, allocations: 0.9597 MB / 0.9532 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.036e-05/0.2855, allocations: 4 kB / 0.9532 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.423e-05/0.2856, allocations: 19.73 kB / 0.9532 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001365/0.2857, allocations: 47.53 kB / 0.9532 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.2859, allocations: 63.84 kB / 0.9533 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.2862, allocations: 223.4 kB / 0.9535 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.2864, allocations: 71.23 kB / 0.9536 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.2865, allocations: 91.69 kB / 0.9536 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.2866, allocations: 107.5 kB / 0.9538 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.588e-05/0.2867, allocations: 19.94 kB / 0.9538 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.928e-05/0.2867, allocations: 20 kB / 0.9538 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.462e-05/0.2868, allocations: 51.81 kB / 0.9538 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.446e-05/0.2869, allocations: 87.47 kB / 0.9539 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.2871, allocations: 207.2 kB / 0.9541 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2871, allocations: 11.94 kB / 0.9541 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2871, allocations: 0 / 0.9541 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.2871, allocations: 0 / 0.9541 GB, free: 4.938 MB / 0.7325 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.001074/0.2882, allocations: 0.5571 MB / 0.9547 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.2882, allocations: 8.031 kB / 0.9547 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.228e-05/0.2883, allocations: 28.66 kB / 0.9547 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.2885, allocations: 227.8 kB / 0.9549 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.2885, allocations: 16.34 kB / 0.9549 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.384e-05/0.2886, allocations: 12.38 kB / 0.955 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006955/0.2893, allocations: 234.6 kB / 0.9552 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.2893, allocations: 192 / 0.9552 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.2893, allocations: 11.88 kB / 0.9552 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.2893, allocations: 4 kB / 0.9552 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009703/0.2903, allocations: 295.7 kB / 0.9555 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007415/0.2911, allocations: 496.2 kB / 0.9559 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006849/0.2918, allocations: 256.1 kB / 0.9562 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005527/0.2923, allocations: 192.7 kB / 0.9564 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.908e-05/0.2924, allocations: 3.984 kB / 0.9564 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.2924, allocations: 34.56 kB / 0.9564 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 1.723e-06/0.2924, allocations: 0 / 0.9564 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.00165/0.2941, allocations: 0.4933 MB / 0.9569 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.2941, allocations: 59.34 kB / 0.957 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.2943, allocations: 175.6 kB / 0.9571 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.2943, allocations: 29.7 kB / 0.9571 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.807e-05/0.2944, allocations: 128.3 kB / 0.9573 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.414e-05/0.2944, allocations: 59.19 kB / 0.9573 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.726e-05/0.2945, allocations: 29.7 kB / 0.9574 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.2946, allocations: 326.8 kB / 0.9577 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005052/0.2951, allocations: 151.8 kB / 0.9578 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004757/0.2956, allocations: 150.1 kB / 0.958 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009489/0.2966, allocations: 296.5 kB / 0.9582 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.2966, allocations: 4 kB / 0.9582 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001057/0.2977, allocations: 367.7 kB / 0.9586 GB, free: 140 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.2977, allocations: 8 kB / 0.9586 GB, free: 132 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.2977, allocations: 0 / 0.9586 GB, free: 132 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.2977, allocations: 3.938 kB / 0.9586 GB, free: 128 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003806/0.2981, allocations: 83.91 kB / 0.9587 GB, free: 44 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.2981, allocations: 0 / 0.9587 GB, free: 44 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002739/0.2984, allocations: 55.83 kB / 0.9587 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.2984, allocations: 4 kB / 0.9587 GB, free: 15.98 MB / 0.7481 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.0001061/0.2985, allocations: 127.8 kB / 0.9589 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.86e-05/0.2986, allocations: 19.81 kB / 0.9589 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.432e-05/0.2986, allocations: 29.8 kB / 0.9589 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.2986, allocations: 0 / 0.9589 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2987, allocations: 0 / 0.9589 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.2987, allocations: 0 / 0.9589 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/0.299, allocations: 273.5 kB / 0.9592 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.299, allocations: 3.938 kB / 0.9592 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003596/0.2993, allocations: 75.91 kB / 0.9592 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.2994, allocations: 0 / 0.9592 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.804e-05/0.2994, allocations: 11.94 kB / 0.9593 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2994, allocations: 0 / 0.9593 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2994, allocations: 0 / 0.9593 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/0.301, allocations: 0.634 MB / 0.9599 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.536e-05/0.3011, allocations: 92.89 kB / 0.96 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.3012, allocations: 12 kB / 0.96 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002861/0.3014, allocations: 47.92 kB / 0.96 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.065e-05/0.3015, allocations: 27.91 kB / 0.96 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.3016, allocations: 8 kB / 0.9601 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001212/0.3017, allocations: 136.1 kB / 0.9602 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.6e-07/0.3017, allocations: 0 / 0.9602 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002695/0.302, allocations: 40 kB / 0.9602 GB, free: 14.38 MB / 0.7481 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.0002364/0.3022, allocations: 107.2 kB / 0.9603 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001119/0.3033, allocations: 323.6 kB / 0.9606 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3034, allocations: 0 / 0.9606 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005508/0.3039, allocations: 175.8 kB / 0.9608 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004357/0.3044, allocations: 35.98 kB / 0.9608 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00092/0.3053, allocations: 360.6 kB / 0.9612 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.3057, allocations: 0.7279 MB / 0.9619 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.633e-05/0.3058, allocations: 13.08 kB / 0.9619 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.873e-05/0.3059, allocations: 19.44 kB / 0.9619 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.3059, allocations: 0 / 0.9619 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of Templates: time 0.006002/0.3119, allocations: 2.658 MB / 0.9645 GB, free: 9.949 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches