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.001708/0.001708, allocations: 99.92 kB / 16.35 MB, free: 5.828 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.00171/0.00171, allocations: 193.5 kB / 17.29 MB, free: 5.484 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.517/1.517, 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.386/2.386, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 63.34 kB / 0.814 GB, free: 32.79 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3253, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate): time 0.003848/0.3292, allocations: 1.102 MB / 0.9522 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001924/0.3312, allocations: 0.9636 MB / 0.9532 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002175/0.3314, allocations: 4 kB / 0.9532 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.206e-05/0.3315, allocations: 19.73 kB / 0.9532 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002541/0.3319, allocations: 35.59 kB / 0.9532 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.3322, allocations: 63.91 kB / 0.9533 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000424/0.3327, allocations: 223.4 kB / 0.9535 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002716/0.333, allocations: 72.83 kB / 0.9536 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.3332, allocations: 91.62 kB / 0.9536 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.3334, allocations: 111.5 kB / 0.9537 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.414e-05/0.3334, allocations: 16 kB / 0.9538 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.075e-05/0.3335, allocations: 20 kB / 0.9538 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.163e-05/0.3335, allocations: 51.75 kB / 0.9538 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.3336, allocations: 91.53 kB / 0.9539 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.3339, allocations: 215.1 kB / 0.9541 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.3339, allocations: 0 / 0.9541 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.248e-06/0.334, allocations: 4 kB / 0.9541 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.334, allocations: 0 / 0.9541 GB, free: 4.957 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.001144/0.3351, allocations: 0.561 MB / 0.9547 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.3352, allocations: 8.031 kB / 0.9547 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.021e-05/0.3352, allocations: 24.66 kB / 0.9547 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.3355, allocations: 223.8 kB / 0.9549 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.3355, allocations: 16.34 kB / 0.9549 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.319e-05/0.3356, allocations: 12.38 kB / 0.9549 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007237/0.3363, allocations: 238.6 kB / 0.9552 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.3363, allocations: 4.125 kB / 0.9552 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.3364, allocations: 7.938 kB / 0.9552 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.3364, allocations: 4 kB / 0.9552 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.3374, allocations: 295.7 kB / 0.9555 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007853/0.3382, allocations: 496.2 kB / 0.9559 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007094/0.3389, allocations: 242.4 kB / 0.9562 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005762/0.3395, allocations: 192.7 kB / 0.9564 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.447e-05/0.3395, allocations: 4 kB / 0.9564 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.3396, allocations: 38.5 kB / 0.9564 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 2.234e-06/0.3396, allocations: 0 / 0.9564 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.00177/0.3414, allocations: 0.4933 MB / 0.9569 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.3414, allocations: 55.41 kB / 0.9569 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.3416, allocations: 179.6 kB / 0.9571 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.3416, allocations: 25.7 kB / 0.9571 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.858e-05/0.3417, allocations: 128.3 kB / 0.9573 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.681e-05/0.3418, allocations: 59.19 kB / 0.9573 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.407e-05/0.3419, allocations: 37.7 kB / 0.9573 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.342, allocations: 326.8 kB / 0.9577 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005245/0.3425, allocations: 143.8 kB / 0.9578 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004999/0.3431, allocations: 158.3 kB / 0.9579 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009914/0.344, allocations: 296.5 kB / 0.9582 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3441, allocations: 0 / 0.9582 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001126/0.3452, allocations: 363.6 kB / 0.9586 GB, free: 172 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.3452, allocations: 8 kB / 0.9586 GB, free: 164 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3453, allocations: 7.984 kB / 0.9586 GB, free: 156 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.3453, allocations: 7.938 kB / 0.9586 GB, free: 148 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/0.3457, allocations: 79.84 kB / 0.9587 GB, free: 68 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.3457, allocations: 0 / 0.9587 GB, free: 68 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002869/0.346, allocations: 59.83 kB / 0.9587 GB, free: 8 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.346, allocations: 7.938 kB / 0.9587 GB, free: 0 / 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.0001549/0.3462, allocations: 128.9 kB / 0.9589 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.823e-05/0.3462, allocations: 15.81 kB / 0.9589 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.944e-05/0.3463, allocations: 25.8 kB / 0.9589 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.3463, allocations: 4 kB / 0.9589 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.3463, allocations: 3.984 kB / 0.9589 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.3463, allocations: 0 / 0.9589 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003163/0.3466, allocations: 273.5 kB / 0.9592 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3466, allocations: 0 / 0.9592 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003701/0.347, allocations: 79.84 kB / 0.9592 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.347, allocations: 0 / 0.9592 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.3471, allocations: 7.938 kB / 0.9593 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.3471, allocations: 0 / 0.9593 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3471, allocations: 0 / 0.9593 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.3489, allocations: 0.6354 MB / 0.9599 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.944e-05/0.3489, allocations: 96.83 kB / 0.96 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.349, allocations: 3.938 kB / 0.96 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002847/0.3493, allocations: 51.92 kB / 0.96 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.082e-05/0.3494, allocations: 28.03 kB / 0.96 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.3494, allocations: 7.938 kB / 0.9601 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001159/0.3495, allocations: 140.1 kB / 0.9602 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3495, allocations: 0 / 0.9602 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002808/0.3498, allocations: 36 kB / 0.9602 GB, free: 14.39 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.0001901/0.35, allocations: 103.2 kB / 0.9603 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001172/0.3512, allocations: 334.2 kB / 0.9606 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3512, allocations: 0 / 0.9606 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005432/0.3517, allocations: 175.8 kB / 0.9608 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004364/0.3522, allocations: 27.98 kB / 0.9608 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008721/0.3531, allocations: 360.6 kB / 0.9612 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.3535, allocations: 0.7278 MB / 0.9619 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.731e-05/0.3536, allocations: 13.08 kB / 0.9619 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.783e-05/0.3537, allocations: 23.44 kB / 0.9619 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of SimCode: time 1.293e-06/0.3537, allocations: 0 / 0.9619 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of Templates: time 0.006183/0.3599, allocations: 2.653 MB / 0.9645 GB, free: 9.969 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 cvode -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