Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007995/0.0007995, 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.0009229/0.0009229, allocations: 165.9 kB / 22.45 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.8921/0.8921, allocations: 177.1 MB / 202.8 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.768/1.768, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.845e-06/2.845e-06, allocations: 0 / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.484e-05, allocations: 4.953 kB / 0.9998 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.001555/0.00158, allocations: 1.002 MB / 1.001 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009698/0.00255, allocations: 0.984 MB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.815e-05/0.002608, allocations: 4 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.787e-05/0.002646, allocations: 15.75 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.002768, allocations: 51.58 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.002939, allocations: 67.84 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.00313, allocations: 231.3 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.003255, allocations: 49.2 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.003373, allocations: 139.6 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.399e-05/0.003467, allocations: 83.75 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.329e-05/0.0035, allocations: 20 kB / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.898e-05/0.003519, allocations: 20 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.127e-05/0.00355, allocations: 43.84 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.575e-05/0.003596, allocations: 63.81 kB / 1.002 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.00377, allocations: 231.2 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.003772, allocations: 0 / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.71e-07/0.003773, allocations: 0 / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.003777, allocations: 0 / 1.003 GB, free: 10.43 MB / 0.9636 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.0006657/0.004443, allocations: 0.4933 MB / 1.003 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.004481, allocations: 8.75 kB / 1.003 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.892e-05/0.00452, allocations: 46.73 kB / 1.003 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.004558, allocations: 24.8 kB / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.004728, allocations: 170.7 kB / 1.003 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.004741, allocations: 8.375 kB / 1.003 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.004768, allocations: 20.36 kB / 1.003 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004054/0.005173, allocations: 242 kB / 1.004 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.005181, allocations: 192 / 1.004 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.005195, allocations: 8.375 kB / 1.004 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.005202, allocations: 8.125 kB / 1.004 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005404/0.005742, allocations: 299.7 kB / 1.004 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005416/0.006284, allocations: 415.5 kB / 1.004 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000409/0.006693, allocations: 238.3 kB / 1.005 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/0.007015, allocations: 192.9 kB / 1.005 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.007042, allocations: 0 / 1.005 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.007067, allocations: 42.47 kB / 1.005 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=17): time 1.032e-06/0.007068, allocations: 0 / 1.005 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of matching and sorting (n=17): time 0.0009639/0.008031, allocations: 0.495 MB / 1.005 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.008059, allocations: 55.34 kB / 1.005 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.008161, allocations: 175.5 kB / 1.005 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.008181, allocations: 37.7 kB / 1.006 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.066e-05/0.008242, allocations: 128.5 kB / 1.006 GB, free: 7.191 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/0.008282, allocations: 55.48 kB / 1.006 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.764e-05/0.00833, allocations: 29.72 kB / 1.006 GB, free: 7.102 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.557e-05/0.008426, allocations: 330.8 kB / 1.006 GB, free: 6.77 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002885/0.008714, allocations: 155.7 kB / 1.006 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003157/0.00903, allocations: 223.7 kB / 1.006 GB, free: 6.379 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005419/0.009572, allocations: 297.8 kB / 1.007 GB, free: 6.086 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.009574, allocations: 3.938 kB / 1.007 GB, free: 6.082 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006252/0.0102, allocations: 365.1 kB / 1.007 GB, free: 5.719 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.01021, allocations: 5.719 kB / 1.007 GB, free: 5.715 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.01022, allocations: 0 / 1.007 GB, free: 5.715 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.01023, allocations: 4 kB / 1.007 GB, free: 5.711 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.01043, allocations: 75.91 kB / 1.007 GB, free: 5.637 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.01044, allocations: 3.938 kB / 1.007 GB, free: 5.633 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.01057, allocations: 59.88 kB / 1.007 GB, free: 5.574 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.01059, allocations: 8 kB / 1.007 GB, free: 5.566 MB / 0.9636 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.661e-05/0.01067, allocations: 125.8 kB / 1.007 GB, free: 5.434 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.01069, allocations: 15.89 kB / 1.007 GB, free: 5.418 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.097e-05/0.01072, allocations: 21.81 kB / 1.007 GB, free: 5.391 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01073, allocations: 4 kB / 1.007 GB, free: 5.387 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.01073, allocations: 3.938 kB / 1.007 GB, free: 5.383 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01074, allocations: 4 kB / 1.007 GB, free: 5.379 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.01091, allocations: 220.6 kB / 1.008 GB, free: 5.121 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01091, allocations: 0 / 1.008 GB, free: 5.121 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.01109, allocations: 75.91 kB / 1.008 GB, free: 5.047 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.0111, allocations: 0 / 1.008 GB, free: 5.047 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.01111, allocations: 4 kB / 1.008 GB, free: 5.043 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.01111, allocations: 0 / 1.008 GB, free: 5.043 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.01111, allocations: 15.81 kB / 1.008 GB, free: 5.027 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009766/0.01209, allocations: 0.6239 MB / 1.008 GB, free: 4.387 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.749e-05/0.01211, allocations: 15.89 kB / 1.008 GB, free: 4.371 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.01213, allocations: 8 kB / 1.008 GB, free: 4.363 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.01227, allocations: 47.92 kB / 1.008 GB, free: 4.316 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/0.01234, allocations: 35.89 kB / 1.008 GB, free: 4.281 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.01235, allocations: 4 kB / 1.008 GB, free: 4.277 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.829e-05/0.01241, allocations: 128.5 kB / 1.009 GB, free: 4.152 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01241, allocations: 0 / 1.009 GB, free: 4.152 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001748/0.01259, allocations: 39.94 kB / 1.009 GB, free: 4.113 MB / 0.9636 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.001144/0.01373, allocations: 1.175 MB / 1.01 GB, free: 2.914 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0006346/0.01437, allocations: 329.8 kB / 1.01 GB, free: 2.594 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01437, allocations: 0 / 1.01 GB, free: 2.594 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002969/0.01467, allocations: 163.8 kB / 1.01 GB, free: 2.434 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.01494, allocations: 46.08 kB / 1.01 GB, free: 2.391 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002866/0.01781, allocations: 2.531 MB / 1.013 GB, free: 15.78 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.703e-05/0.01787, allocations: 112.1 kB / 1.013 GB, free: 15.65 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 6.694e-05/0.01794, allocations: 21.12 kB / 1.013 GB, free: 15.63 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.603e-05/0.01803, allocations: 60.48 kB / 1.013 GB, free: 15.57 MB / 0.9792 GB Notification: Performance of SimCode: time 5.31e-07/0.01803, allocations: 0 / 1.013 GB, free: 15.57 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01764/0.03567, allocations: 5.655 MB / 1.018 GB, free: 10.09 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.548/6.584, allocations: 0 / 1.018 GB, free: 10.09 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate_fmu --startTime=0 --stopTime=480 --stepSize=0.192 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.646375829353929]