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.0009704/0.0009706, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.008011/0.008011, allocations: 170.4 kB / 16.26 MB, free: 6.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.522/1.522, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.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.636/2.636, allocations: 390.9 MB / 0.6663 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003954/0.0003958, allocations: 12 kB / 0.816 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9279/0.9284, allocations: 142.4 MB / 0.9551 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate): time 0.001504/0.9299, allocations: 0.7954 MB / 0.9558 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.9311, allocations: 0.9599 MB / 0.9568 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.879e-05/0.9312, allocations: 2.312 kB / 0.9568 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.26e-05/0.9312, allocations: 11.88 kB / 0.9568 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001583/0.9314, allocations: 27.38 kB / 0.9568 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.9316, allocations: 60.86 kB / 0.9569 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000231/0.9318, allocations: 206.4 kB / 0.9571 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.932, allocations: 70.52 kB / 0.9571 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.9321, allocations: 75.09 kB / 0.9572 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.9323, allocations: 96.58 kB / 0.9573 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.635e-05/0.9323, allocations: 8 kB / 0.9573 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.775e-05/0.9323, allocations: 8.656 kB / 0.9573 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.69e-05/0.9324, allocations: 35.75 kB / 0.9573 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.901e-05/0.9325, allocations: 97.09 kB / 0.9574 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.9327, allocations: 193 kB / 0.9576 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.9327, allocations: 1.062 kB / 0.9576 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.314e-06/0.9327, allocations: 0 / 0.9576 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.9327, allocations: 4 kB / 0.9576 GB, free: 5.734 MB / 0.7169 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.001105/0.9338, allocations: 0.5892 MB / 0.9582 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.9339, allocations: 8.906 kB / 0.9582 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.317e-05/0.9339, allocations: 23.12 kB / 0.9582 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.9341, allocations: 219.2 kB / 0.9584 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.9342, allocations: 9.406 kB / 0.9584 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.44e-05/0.9342, allocations: 16.73 kB / 0.9585 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008277/0.9351, allocations: 286.5 kB / 0.9587 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.9351, allocations: 192 / 0.9587 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.9351, allocations: 9.312 kB / 0.9587 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.9351, allocations: 4.125 kB / 0.9587 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.9364, allocations: 382.5 kB / 0.9591 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000833/0.9372, allocations: 0.4944 MB / 0.9596 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009741/0.9382, allocations: 301.6 kB / 0.9599 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008079/0.939, allocations: 240.5 kB / 0.9601 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.926e-05/0.9391, allocations: 6.734 kB / 0.9601 GB, free: 4 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.9391, allocations: 35.94 kB / 0.9602 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.322e-06/0.9391, allocations: 0 / 0.9602 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.002391/0.9415, allocations: 0.6426 MB / 0.9608 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.9416, allocations: 53.88 kB / 0.9608 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.9418, allocations: 178.9 kB / 0.961 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.9418, allocations: 26.77 kB / 0.961 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.645e-05/0.9419, allocations: 132.5 kB / 0.9612 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.199e-05/0.942, allocations: 53.83 kB / 0.9612 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.942, allocations: 22.8 kB / 0.9612 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.9421, allocations: 326.3 kB / 0.9615 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006864/0.9428, allocations: 200.1 kB / 0.9617 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006705/0.9435, allocations: 196.3 kB / 0.9619 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/0.9448, allocations: 393.3 kB / 0.9623 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.9448, allocations: 0 / 0.9623 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001385/0.9462, allocations: 462 kB / 0.9627 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.9462, allocations: 6.625 kB / 0.9627 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.9462, allocations: 9.047 kB / 0.9627 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/0.9463, allocations: 4.875 kB / 0.9628 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004483/0.9467, allocations: 100 kB / 0.9628 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.9467, allocations: 0 / 0.9628 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003244/0.9471, allocations: 86.33 kB / 0.9629 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.9471, allocations: 4 kB / 0.9629 GB, free: 2.375 MB / 0.7169 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.0001073/0.9472, allocations: 127.8 kB / 0.9631 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.498e-05/0.9472, allocations: 16 kB / 0.9631 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.802e-05/0.9473, allocations: 33.7 kB / 0.9631 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.9473, allocations: 2.062 kB / 0.9631 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.9473, allocations: 0 / 0.9631 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.9473, allocations: 3.938 kB / 0.9631 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002986/0.9476, allocations: 271.9 kB / 0.9634 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.9477, allocations: 0 / 0.9634 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004593/0.9481, allocations: 102.5 kB / 0.9635 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.9481, allocations: 1 kB / 0.9635 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.9482, allocations: 4.969 kB / 0.9635 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.9482, allocations: 4.969 kB / 0.9635 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.9482, allocations: 0 / 0.9635 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002147/0.9503, allocations: 0.7699 MB / 0.9642 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.79e-05/0.9504, allocations: 89.92 kB / 0.9643 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.9504, allocations: 9.25 kB / 0.9643 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003756/0.9508, allocations: 77.39 kB / 0.9644 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.9509, allocations: 24.05 kB / 0.9644 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.9509, allocations: 15.22 kB / 0.9644 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001039/0.951, allocations: 132.3 kB / 0.9646 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9511, allocations: 0 / 0.9646 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000281/0.9513, allocations: 42.28 kB / 0.9646 GB, free: 1.23 MB / 0.7169 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.0001707/0.9515, allocations: 111.1 kB / 0.9647 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001433/0.953, allocations: 417.1 kB / 0.9651 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.953, allocations: 5 kB / 0.9651 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007121/0.9537, allocations: 222.1 kB / 0.9653 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004635/0.9542, allocations: 31.86 kB / 0.9654 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008032/0.955, allocations: 438.3 kB / 0.9658 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.9552, allocations: 0.7293 MB / 0.9665 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000104/0.9554, allocations: 15.22 kB / 0.9665 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.47e-05/0.9554, allocations: 14.31 kB / 0.9665 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of SimCode: time 6.21e-07/0.9554, allocations: 0 / 0.9665 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of Templates: time 0.005761/0.9612, allocations: 2.11 MB / 0.9686 GB, free: 14.78 MB / 0.7325 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/jenkins/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