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.002118/0.002118, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002083/0.002083, allocations: 192.2 kB / 16.14 MB, free: 6.711 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.518/1.518, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.702/2.702, allocations: 390.2 MB / 0.6642 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.89 kB / 0.8119 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9123/0.9136, allocations: 140.4 MB / 0.9489 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate): time 0.002657/0.9163, allocations: 1.152 MB / 0.9501 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.9175, allocations: 0.9559 MB / 0.951 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.805e-05/0.9176, allocations: 2.75 kB / 0.951 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.796e-05/0.9177, allocations: 11.86 kB / 0.951 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001554/0.9178, allocations: 27.91 kB / 0.951 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.9181, allocations: 68.11 kB / 0.9511 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002641/0.9183, allocations: 207 kB / 0.9513 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.9185, allocations: 62.81 kB / 0.9514 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.9186, allocations: 89.11 kB / 0.9514 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.9188, allocations: 105.4 kB / 0.9515 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.68e-05/0.9188, allocations: 16.44 kB / 0.9516 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.636e-05/0.9189, allocations: 12.06 kB / 0.9516 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.46e-05/0.9189, allocations: 36.62 kB / 0.9516 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.252e-05/0.919, allocations: 85.14 kB / 0.9517 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.9192, allocations: 200.2 kB / 0.9519 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.9193, allocations: 0 / 0.9519 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9193, allocations: 0 / 0.9519 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.9193, allocations: 0 / 0.9519 GB, free: 6.754 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.001095/0.9204, allocations: 0.5625 MB / 0.9524 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.9204, allocations: 10.5 kB / 0.9524 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.314e-05/0.9205, allocations: 22.5 kB / 0.9525 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.9207, allocations: 224.1 kB / 0.9527 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.9208, allocations: 8.438 kB / 0.9527 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.355e-05/0.9208, allocations: 22.16 kB / 0.9527 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008228/0.9216, allocations: 239 kB / 0.9529 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.9217, allocations: 4.188 kB / 0.9529 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.9217, allocations: 8.844 kB / 0.9529 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.9217, allocations: 4.062 kB / 0.9529 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.9228, allocations: 288.5 kB / 0.9532 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006887/0.9235, allocations: 493.9 kB / 0.9537 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007376/0.9243, allocations: 248.9 kB / 0.9539 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006254/0.9249, allocations: 191.2 kB / 0.9541 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.814e-05/0.9249, allocations: 10.42 kB / 0.9541 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.925, allocations: 35.75 kB / 0.9542 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.353e-06/0.925, allocations: 4 kB / 0.9542 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.001762/0.9267, allocations: 0.4942 MB / 0.9546 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.9268, allocations: 53.88 kB / 0.9547 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.9269, allocations: 171.2 kB / 0.9549 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.9269, allocations: 30.95 kB / 0.9549 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/0.927, allocations: 124.9 kB / 0.955 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.383e-05/0.9271, allocations: 58.06 kB / 0.9551 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.829e-05/0.9271, allocations: 27.16 kB / 0.9551 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.556e-05/0.9272, allocations: 336.5 kB / 0.9554 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005264/0.9277, allocations: 139.2 kB / 0.9555 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005326/0.9283, allocations: 153.9 kB / 0.9557 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.9294, allocations: 308.7 kB / 0.956 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.9294, allocations: 0 / 0.956 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001113/0.9305, allocations: 353.2 kB / 0.9563 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.9305, allocations: 4.75 kB / 0.9563 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.9305, allocations: 5.766 kB / 0.9563 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.9306, allocations: 7.938 kB / 0.9563 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003948/0.931, allocations: 78.36 kB / 0.9564 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.931, allocations: 1.812 kB / 0.9564 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002873/0.9313, allocations: 61.17 kB / 0.9565 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.9313, allocations: 4.156 kB / 0.9565 GB, free: 3.469 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 9.983e-05/0.9314, allocations: 122.3 kB / 0.9566 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.9315, allocations: 24.25 kB / 0.9566 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.925e-05/0.9315, allocations: 25.94 kB / 0.9566 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.9315, allocations: 1.375 kB / 0.9566 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.9315, allocations: 7.938 kB / 0.9566 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.9315, allocations: 1.375 kB / 0.9566 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.9318, allocations: 274.7 kB / 0.9569 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.9318, allocations: 4 kB / 0.9569 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003796/0.9322, allocations: 77.34 kB / 0.957 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.9322, allocations: 1.375 kB / 0.957 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.9322, allocations: 9.312 kB / 0.957 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.9322, allocations: 0 / 0.957 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.9323, allocations: 1.375 kB / 0.957 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.9341, allocations: 0.6318 MB / 0.9576 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.916e-05/0.9341, allocations: 94.08 kB / 0.9577 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.584e-05/0.9342, allocations: 8.844 kB / 0.9577 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003204/0.9345, allocations: 52.61 kB / 0.9578 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.617e-05/0.9346, allocations: 23.88 kB / 0.9578 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.9346, allocations: 2.719 kB / 0.9578 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001225/0.9347, allocations: 139.9 kB / 0.9579 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of sort global known variables: time 5.21e-07/0.9348, allocations: 1.125 kB / 0.9579 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003165/0.9351, allocations: 38.38 kB / 0.958 GB, free: 2.34 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.000207/0.9353, allocations: 107.4 kB / 0.9581 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001235/0.9365, allocations: 333.9 kB / 0.9584 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9365, allocations: 0 / 0.9584 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005897/0.9371, allocations: 173.6 kB / 0.9585 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004676/0.9376, allocations: 31.38 kB / 0.9586 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008116/0.9384, allocations: 429.2 kB / 0.959 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.9387, allocations: 0.724 MB / 0.9597 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001106/0.9388, allocations: 15.52 kB / 0.9597 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.393e-05/0.9389, allocations: 14.44 kB / 0.9597 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of SimCode: time 6.21e-07/0.9389, allocations: 0 / 0.9597 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of Templates: time 0.005149/0.944, allocations: 2.131 MB / 0.9618 GB, free: 15.9 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