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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001531/0.001531, allocations: 108.4 kB / 16.27 MB, free: 5.984 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.00178/0.00178, allocations: 187.8 kB / 17.2 MB, free: 5.609 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.424/1.424, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.29/2.29, allocations: 390.2 MB / 0.6653 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 67.69 kB / 0.8132 GB, free: 33.1 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.28, allocations: 140.4 MB / 0.9503 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate): time 0.002627/0.2827, allocations: 1.101 MB / 0.9514 GB, free: 7.742 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00137/0.2841, allocations: 0.9596 MB / 0.9523 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.2843, allocations: 4 kB / 0.9523 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.338e-05/0.2844, allocations: 15.75 kB / 0.9523 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002025/0.2846, allocations: 43.59 kB / 0.9524 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.2848, allocations: 59.91 kB / 0.9524 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002537/0.2851, allocations: 223.4 kB / 0.9526 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.2853, allocations: 72.81 kB / 0.9527 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.2854, allocations: 95.62 kB / 0.9528 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.2856, allocations: 111.5 kB / 0.9529 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.593e-05/0.2856, allocations: 16 kB / 0.9529 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.188e-05/0.2856, allocations: 20 kB / 0.9529 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.65e-05/0.2857, allocations: 47.83 kB / 0.953 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.31e-05/0.2858, allocations: 91.5 kB / 0.9531 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.286, allocations: 207.5 kB / 0.9533 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.286, allocations: 0 / 0.9533 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.493e-06/0.286, allocations: 0 / 0.9533 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.286, allocations: 0 / 0.9533 GB, free: 5.781 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.001151/0.2872, allocations: 0.561 MB / 0.9538 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.2872, allocations: 8.031 kB / 0.9538 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.473e-05/0.2873, allocations: 28.59 kB / 0.9538 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.2875, allocations: 223.9 kB / 0.9541 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.2876, allocations: 12.38 kB / 0.9541 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.704e-05/0.2876, allocations: 12.38 kB / 0.9541 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007661/0.2884, allocations: 242.5 kB / 0.9543 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2884, allocations: 192 / 0.9543 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.2884, allocations: 11.94 kB / 0.9543 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.2884, allocations: 0 / 0.9543 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.2896, allocations: 299.7 kB / 0.9546 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000733/0.2904, allocations: 0.4923 MB / 0.9551 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007598/0.2911, allocations: 250.3 kB / 0.9553 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006435/0.2918, allocations: 188.6 kB / 0.9555 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.2918, allocations: 8 kB / 0.9555 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.2919, allocations: 34.56 kB / 0.9555 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 1.633e-06/0.2919, allocations: 0 / 0.9555 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.001926/0.2938, allocations: 0.4995 MB / 0.956 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.2939, allocations: 55.41 kB / 0.9561 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.294, allocations: 171.6 kB / 0.9563 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.2941, allocations: 29.7 kB / 0.9563 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.622e-05/0.2941, allocations: 132.2 kB / 0.9564 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.131e-05/0.2942, allocations: 63.19 kB / 0.9565 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.195e-05/0.2943, allocations: 29.7 kB / 0.9565 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.2944, allocations: 326.8 kB / 0.9568 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005915/0.295, allocations: 147.8 kB / 0.9569 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005871/0.2956, allocations: 151.7 kB / 0.9571 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.2968, allocations: 298.9 kB / 0.9574 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2968, allocations: 0 / 0.9574 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00126/0.2981, allocations: 361.1 kB / 0.9577 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.2981, allocations: 10.81 kB / 0.9577 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.2981, allocations: 0 / 0.9577 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.2981, allocations: 3.938 kB / 0.9577 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004229/0.2986, allocations: 79.84 kB / 0.9578 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.2986, allocations: 4 kB / 0.9578 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003174/0.2989, allocations: 55.83 kB / 0.9579 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.2989, allocations: 8 kB / 0.9579 GB, free: 0.8242 MB / 0.7325 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.0001186/0.2991, allocations: 123.8 kB / 0.958 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-05/0.2991, allocations: 19.75 kB / 0.958 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.405e-05/0.2992, allocations: 25.8 kB / 0.958 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.2992, allocations: 4 kB / 0.958 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.2992, allocations: 4 kB / 0.958 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.2992, allocations: 0 / 0.958 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/0.2995, allocations: 277.4 kB / 0.9583 GB, free: 332 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.2995, allocations: 0 / 0.9583 GB, free: 332 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004031/0.2999, allocations: 67.92 kB / 0.9584 GB, free: 264 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.2999, allocations: 0 / 0.9584 GB, free: 264 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.3, allocations: 11.94 kB / 0.9584 GB, free: 252 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.3, allocations: 7.984 kB / 0.9584 GB, free: 244 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3, allocations: 3.938 kB / 0.9584 GB, free: 240 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002021/0.302, allocations: 0.6276 MB / 0.959 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.178e-05/0.3021, allocations: 92.89 kB / 0.9591 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.367e-05/0.3021, allocations: 3.938 kB / 0.9591 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003483/0.3025, allocations: 59.98 kB / 0.9592 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.967e-05/0.3026, allocations: 23.97 kB / 0.9592 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.3026, allocations: 11.98 kB / 0.9592 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001003/0.3027, allocations: 132.2 kB / 0.9593 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3027, allocations: 0 / 0.9593 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002832/0.303, allocations: 36 kB / 0.9594 GB, free: 15.22 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.0001638/0.3032, allocations: 111.2 kB / 0.9595 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001321/0.3045, allocations: 331.4 kB / 0.9598 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3045, allocations: 0 / 0.9598 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006448/0.3052, allocations: 178.4 kB / 0.9599 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004791/0.3057, allocations: 39.95 kB / 0.96 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008868/0.3066, allocations: 390.3 kB / 0.9604 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.3069, allocations: 0.7279 MB / 0.9611 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.955e-05/0.307, allocations: 23.44 kB / 0.9611 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of SimCode: time 4.21e-07/0.307, allocations: 0 / 0.9611 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of Templates: time 0.005117/0.3121, allocations: 2.554 MB / 0.9636 GB, free: 10.84 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 -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