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.001683/0.001683, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002271/0.00227, allocations: 192.5 kB / 16.25 MB, free: 6.637 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.521/1.521, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.592/2.592, allocations: 390.2 MB / 0.6644 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002312/0.002312, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9754/0.9777, allocations: 140.4 MB / 0.9491 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate): time 0.002803/0.9805, allocations: 1.147 MB / 0.9502 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001582/0.9822, allocations: 0.9656 MB / 0.9512 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.367e-05/0.9823, allocations: 1.406 kB / 0.9512 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.017e-05/0.9823, allocations: 11.86 kB / 0.9512 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001511/0.9825, allocations: 28.34 kB / 0.9512 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.9827, allocations: 52.05 kB / 0.9513 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002425/0.983, allocations: 224.5 kB / 0.9515 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.9832, allocations: 81.47 kB / 0.9516 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.9833, allocations: 89.94 kB / 0.9516 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.9834, allocations: 112.2 kB / 0.9517 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.895e-05/0.9835, allocations: 19.25 kB / 0.9518 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.505e-05/0.9835, allocations: 19.25 kB / 0.9518 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.598e-05/0.9836, allocations: 43.95 kB / 0.9518 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.539e-05/0.9836, allocations: 93.78 kB / 0.9519 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.9839, allocations: 209.4 kB / 0.9521 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.9839, allocations: 1.156 kB / 0.9521 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.255e-06/0.9839, allocations: 0 / 0.9521 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.9839, allocations: 0 / 0.9521 GB, free: 6.746 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.001109/0.9851, allocations: 0.5585 MB / 0.9527 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.9851, allocations: 10.62 kB / 0.9527 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.346e-05/0.9852, allocations: 21.59 kB / 0.9527 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.9854, allocations: 227.8 kB / 0.9529 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.9854, allocations: 10.25 kB / 0.9529 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.217e-05/0.9855, allocations: 13.19 kB / 0.9529 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007318/0.9862, allocations: 235.3 kB / 0.9532 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.9862, allocations: 192 / 0.9532 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.9863, allocations: 13.36 kB / 0.9532 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.9863, allocations: 6.797 kB / 0.9532 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.9873, allocations: 289.1 kB / 0.9535 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006986/0.988, allocations: 0.4911 MB / 0.9539 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006997/0.9887, allocations: 248.1 kB / 0.9542 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000597/0.9893, allocations: 192.2 kB / 0.9544 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.11e-05/0.9894, allocations: 0.9375 kB / 0.9544 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.9894, allocations: 36.78 kB / 0.9544 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 2.134e-06/0.9894, allocations: 3.938 kB / 0.9544 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.001872/0.9913, allocations: 0.4983 MB / 0.9549 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.9914, allocations: 57.77 kB / 0.9549 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.9915, allocations: 172.3 kB / 0.9551 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.9916, allocations: 30.95 kB / 0.9551 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.025e-05/0.9916, allocations: 128.5 kB / 0.9553 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.285e-05/0.9917, allocations: 58.5 kB / 0.9553 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.879e-05/0.9918, allocations: 31.2 kB / 0.9553 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.596e-05/0.9918, allocations: 326.4 kB / 0.9556 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005446/0.9924, allocations: 149.5 kB / 0.9558 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004982/0.9929, allocations: 153.7 kB / 0.9559 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.9939, allocations: 300.2 kB / 0.9562 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.9939, allocations: 0 / 0.9562 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001114/0.9951, allocations: 362.1 kB / 0.9566 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.9951, allocations: 5.25 kB / 0.9566 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.9951, allocations: 0 / 0.9566 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.9951, allocations: 5.062 kB / 0.9566 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004212/0.9956, allocations: 82.84 kB / 0.9567 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.9956, allocations: 0 / 0.9567 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002959/0.9959, allocations: 61.77 kB / 0.9567 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.9959, allocations: 4.062 kB / 0.9567 GB, free: 3.457 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.0001107/0.996, allocations: 128.3 kB / 0.9568 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.36e-05/0.9961, allocations: 22.16 kB / 0.9569 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.217e-05/0.9961, allocations: 30.39 kB / 0.9569 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.9961, allocations: 1.25 kB / 0.9569 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.9962, allocations: 1.281 kB / 0.9569 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.9962, allocations: 0 / 0.9569 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.9964, allocations: 270.8 kB / 0.9572 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.9965, allocations: 1.125 kB / 0.9572 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003883/0.9968, allocations: 81.23 kB / 0.9572 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.9969, allocations: 3.984 kB / 0.9572 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.9969, allocations: 5.156 kB / 0.9572 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.9969, allocations: 1.406 kB / 0.9572 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.9969, allocations: 0 / 0.9572 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/0.9987, allocations: 0.6221 MB / 0.9578 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.031e-05/0.9987, allocations: 97 kB / 0.9579 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.9988, allocations: 17.25 kB / 0.958 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000299/0.9991, allocations: 52.8 kB / 0.958 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.769e-05/0.9992, allocations: 22.84 kB / 0.958 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.9992, allocations: 4.125 kB / 0.958 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.104e-05/0.9993, allocations: 134.6 kB / 0.9582 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9993, allocations: 3.938 kB / 0.9582 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002843/0.9996, allocations: 43.19 kB / 0.9582 GB, free: 2.328 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.0001623/0.9998, allocations: 111 kB / 0.9583 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001189/1.001, allocations: 329.2 kB / 0.9586 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.001, allocations: 0 / 0.9586 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005688/1.002, allocations: 173.9 kB / 0.9588 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004856/1.002, allocations: 36.81 kB / 0.9588 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008494/1.003, allocations: 425.1 kB / 0.9592 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/1.003, allocations: 0.7283 MB / 0.9599 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001086/1.003, allocations: 15.86 kB / 0.96 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.531e-05/1.003, allocations: 15.62 kB / 0.96 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of SimCode: time 4.51e-07/1.003, allocations: 1.094 kB / 0.96 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of Templates: time 0.005446/1.009, allocations: 2.235 MB / 0.9622 GB, free: 15.83 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