Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008029/0.0008029, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9119/0.9119, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.716/1.716, allocations: 377.8 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.307e-06/3.307e-06, allocations: 0 / 0.981 GB, free: 2.484 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.137e-05/2.468e-05, allocations: 2.281 kB / 0.981 GB, free: 2.48 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002315/0.00234, allocations: 1.017 MB / 0.982 GB, free: 1.465 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.003719, allocations: 0.991 MB / 0.983 GB, free: 472 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.187e-05/0.003811, allocations: 8 kB / 0.983 GB, free: 464 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 5.503e-05/0.003866, allocations: 19.73 kB / 0.983 GB, free: 444 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.004021, allocations: 39.59 kB / 0.9831 GB, free: 404 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.004278, allocations: 75.83 kB / 0.9831 GB, free: 328 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0002794/0.004557, allocations: 227.3 kB / 0.9834 GB, free: 100 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.004728, allocations: 53.2 kB / 0.9834 GB, free: 48 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002107/0.004938, allocations: 127.9 kB / 0.9835 GB, free: 15.92 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.00508, allocations: 87.7 kB / 0.9836 GB, free: 15.83 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.929e-05/0.005129, allocations: 20 kB / 0.9836 GB, free: 15.81 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.826e-05/0.005157, allocations: 20 kB / 0.9837 GB, free: 15.79 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.514e-05/0.005202, allocations: 43.83 kB / 0.9837 GB, free: 15.75 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.805e-05/0.00527, allocations: 59.83 kB / 0.9838 GB, free: 15.69 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.005537, allocations: 231.2 kB / 0.984 GB, free: 15.46 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.00554, allocations: 0 / 0.984 GB, free: 15.46 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.473e-06/0.005542, allocations: 0 / 0.984 GB, free: 15.46 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.005548, allocations: 0 / 0.984 GB, free: 15.46 MB / 0.948 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.001031/0.006578, allocations: 0.4933 MB / 0.9845 GB, free: 14.94 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.006624, allocations: 8.031 kB / 0.9845 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.265e-05/0.006677, allocations: 46.69 kB / 0.9845 GB, free: 14.88 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.283e-05/0.006729, allocations: 24.8 kB / 0.9845 GB, free: 14.85 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.006975, allocations: 169.3 kB / 0.9847 GB, free: 14.66 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.006994, allocations: 16.38 kB / 0.9847 GB, free: 14.64 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.84e-05/0.007032, allocations: 16.38 kB / 0.9847 GB, free: 14.63 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006329/0.007665, allocations: 238.5 kB / 0.9849 GB, free: 14.39 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.007676, allocations: 4.188 kB / 0.985 GB, free: 14.39 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.007697, allocations: 12.31 kB / 0.985 GB, free: 14.38 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.007705, allocations: 4.125 kB / 0.985 GB, free: 14.37 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007557/0.00846, allocations: 295.7 kB / 0.9853 GB, free: 14.08 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005721/0.009032, allocations: 419.5 kB / 0.9857 GB, free: 13.63 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004201/0.009453, allocations: 234.4 kB / 0.9859 GB, free: 13.39 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005076/0.00996, allocations: 188.6 kB / 0.9861 GB, free: 13.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.157e-05/0.01, allocations: 0 / 0.9861 GB, free: 13.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.01003, allocations: 42.5 kB / 0.9861 GB, free: 13.15 MB / 0.948 GB Notification: Performance of pre-optimization done (n=17): time 1.663e-06/0.01003, allocations: 0 / 0.9861 GB, free: 13.15 MB / 0.948 GB Notification: Performance of matching and sorting (n=17): time 0.001028/0.01106, allocations: 0.4935 MB / 0.9866 GB, free: 12.65 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.01109, allocations: 55.34 kB / 0.9866 GB, free: 12.59 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.01121, allocations: 176.4 kB / 0.9868 GB, free: 12.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.01123, allocations: 33.7 kB / 0.9868 GB, free: 12.36 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.063e-05/0.01129, allocations: 128.5 kB / 0.987 GB, free: 12.23 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.671e-05/0.01134, allocations: 63.42 kB / 0.987 GB, free: 12.17 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.112e-05/0.01139, allocations: 29.72 kB / 0.987 GB, free: 12.14 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.246e-05/0.01147, allocations: 330.8 kB / 0.9874 GB, free: 11.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/0.01175, allocations: 147.8 kB / 0.9875 GB, free: 11.66 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003317/0.01208, allocations: 236.6 kB / 0.9877 GB, free: 11.41 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000546/0.01263, allocations: 304.6 kB / 0.988 GB, free: 11.11 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01263, allocations: 0 / 0.988 GB, free: 11.11 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000606/0.01324, allocations: 361.2 kB / 0.9884 GB, free: 10.75 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.01325, allocations: 5.719 kB / 0.9884 GB, free: 10.75 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.01326, allocations: 0 / 0.9884 GB, free: 10.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.01327, allocations: 4 kB / 0.9884 GB, free: 10.74 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.01348, allocations: 83.84 kB / 0.9884 GB, free: 10.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.01349, allocations: 3.938 kB / 0.9885 GB, free: 10.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.01363, allocations: 63.81 kB / 0.9885 GB, free: 10.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.01365, allocations: 4 kB / 0.9885 GB, free: 10.59 MB / 0.948 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 7.911e-05/0.01372, allocations: 121.8 kB / 0.9886 GB, free: 10.46 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.01375, allocations: 15.91 kB / 0.9886 GB, free: 10.45 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.159e-05/0.01378, allocations: 25.8 kB / 0.9887 GB, free: 10.42 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/0.01379, allocations: 4 kB / 0.9887 GB, free: 10.42 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.572e-05/0.01382, allocations: 3.938 kB / 0.9887 GB, free: 10.41 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.01383, allocations: 0 / 0.9887 GB, free: 10.41 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.01406, allocations: 220.6 kB / 0.9889 GB, free: 10.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.01406, allocations: 0 / 0.9889 GB, free: 10.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/0.01429, allocations: 79.84 kB / 0.989 GB, free: 10.08 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.0143, allocations: 4 kB / 0.989 GB, free: 10.07 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.01431, allocations: 4 kB / 0.989 GB, free: 10.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.01431, allocations: 0 / 0.989 GB, free: 10.07 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.01432, allocations: 3.938 kB / 0.989 GB, free: 10.07 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.01535, allocations: 0.6299 MB / 0.9896 GB, free: 9.422 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.164e-05/0.01537, allocations: 15.88 kB / 0.9896 GB, free: 9.406 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.0154, allocations: 8 kB / 0.9896 GB, free: 9.398 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.01558, allocations: 55.98 kB / 0.9897 GB, free: 9.344 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.548e-05/0.01565, allocations: 23.91 kB / 0.9897 GB, free: 9.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.01566, allocations: 7.938 kB / 0.9897 GB, free: 9.312 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.132e-05/0.01574, allocations: 131.2 kB / 0.9898 GB, free: 9.184 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.01574, allocations: 0 / 0.9898 GB, free: 9.184 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001937/0.01593, allocations: 39.95 kB / 0.9899 GB, free: 9.145 MB / 0.948 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.00127/0.0172, allocations: 1.165 MB / 0.991 GB, free: 7.953 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006478/0.01785, allocations: 322.1 kB / 0.9913 GB, free: 7.641 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.01785, allocations: 0 / 0.9913 GB, free: 7.641 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002988/0.01815, allocations: 171.8 kB / 0.9915 GB, free: 7.473 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.01847, allocations: 35.92 kB / 0.9915 GB, free: 7.438 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002739/0.02121, allocations: 2.543 MB / 0.994 GB, free: 4.812 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.857e-05/0.02129, allocations: 120.1 kB / 0.9941 GB, free: 4.676 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.092e-05/0.02136, allocations: 9.141 kB / 0.9941 GB, free: 4.668 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.146e-05/0.02145, allocations: 60.48 kB / 0.9942 GB, free: 4.609 MB / 0.948 GB Notification: Performance of SimCode: time 9.52e-07/0.02145, allocations: 7.938 kB / 0.9942 GB, free: 4.602 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02099/0.04244, allocations: 5.641 MB / 0.9997 GB, free: 15.15 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.872/6.914, allocations: 10.28 kB / 0.9997 GB, free: 15.14 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate_fmu --startTime=0 --stopTime=480 --stepSize=0.192 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.019926331937313]