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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 102.9 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002014/0.002014, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.894/2.894, allocations: 497.2 MB / 0.7812 GB, free: 11.91 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: "" <> 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 0.001966/0.001966, allocations: 72.08 kB / 1.134 GB, free: 13.06 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028/1.03, allocations: 173.9 MB / 1.304 GB, free: 32.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002059/1.032, allocations: 1.101 MB / 1.305 GB, free: 31.36 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009058/1.033, allocations: 0.9622 MB / 1.306 GB, free: 30.63 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.954e-05/1.033, allocations: 2.812 kB / 1.306 GB, free: 30.63 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.273e-05/1.033, allocations: 22.88 kB / 1.306 GB, free: 30.61 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001291/1.033, allocations: 43.86 kB / 1.306 GB, free: 30.58 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001716/1.034, allocations: 68.72 kB / 1.306 GB, free: 30.55 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001866/1.034, allocations: 227.5 kB / 1.306 GB, free: 30.44 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/1.034, allocations: 59.03 kB / 1.306 GB, free: 30.41 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.493e-05/1.034, allocations: 92.42 kB / 1.307 GB, free: 30.37 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/1.034, allocations: 116.3 kB / 1.307 GB, free: 30.31 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/1.034, allocations: 17.19 kB / 1.307 GB, free: 30.31 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.509e-05/1.034, allocations: 19.88 kB / 1.307 GB, free: 30.31 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.305e-05/1.034, allocations: 47.61 kB / 1.307 GB, free: 30.28 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.086e-05/1.034, allocations: 86.69 kB / 1.307 GB, free: 30.22 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001812/1.034, allocations: 214.1 kB / 1.307 GB, free: 30.13 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.034, allocations: 6.875 kB / 1.307 GB, free: 30.13 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.513e-06/1.034, allocations: 4 kB / 1.307 GB, free: 30.12 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.201e-05/1.034, allocations: 0 / 1.307 GB, free: 30.12 MB / 1.061 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.0009608/1.035, allocations: 0.5635 MB / 1.308 GB, free: 29.68 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/1.035, allocations: 8.938 kB / 1.308 GB, free: 29.68 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.642e-05/1.035, allocations: 44.72 kB / 1.308 GB, free: 29.63 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/1.035, allocations: 24.64 kB / 1.308 GB, free: 29.62 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/1.036, allocations: 236.1 kB / 1.308 GB, free: 29.38 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/1.036, allocations: 10.16 kB / 1.308 GB, free: 29.38 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/1.036, allocations: 12.78 kB / 1.308 GB, free: 29.37 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006408/1.036, allocations: 242.8 kB / 1.308 GB, free: 29.29 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/1.036, allocations: 3.938 kB / 1.308 GB, free: 29.29 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/1.036, allocations: 4 kB / 1.308 GB, free: 29.28 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/1.036, allocations: 2.719 kB / 1.308 GB, free: 29.28 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009163/1.037, allocations: 292.8 kB / 1.308 GB, free: 29.23 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005468/1.038, allocations: 499.2 kB / 1.309 GB, free: 28.86 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006233/1.038, allocations: 234.3 kB / 1.309 GB, free: 28.79 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005087/1.039, allocations: 186.2 kB / 1.309 GB, free: 28.75 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/1.039, allocations: 0 / 1.309 GB, free: 28.75 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/1.039, allocations: 36.88 kB / 1.309 GB, free: 28.71 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 1.022e-06/1.039, allocations: 0 / 1.309 GB, free: 28.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.001561/1.041, allocations: 0.5039 MB / 1.31 GB, free: 28.58 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/1.041, allocations: 51.41 kB / 1.31 GB, free: 28.52 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/1.041, allocations: 183.5 kB / 1.31 GB, free: 28.39 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/1.041, allocations: 28.61 kB / 1.31 GB, free: 28.36 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.358e-05/1.041, allocations: 136 kB / 1.31 GB, free: 28.23 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.201e-05/1.041, allocations: 52.72 kB / 1.31 GB, free: 28.19 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.391e-05/1.041, allocations: 39.38 kB / 1.31 GB, free: 28.16 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.169e-05/1.041, allocations: 331 kB / 1.311 GB, free: 27.84 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004937/1.041, allocations: 145 kB / 1.311 GB, free: 27.82 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004924/1.042, allocations: 185.5 kB / 1.311 GB, free: 27.76 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009124/1.043, allocations: 298.6 kB / 1.311 GB, free: 27.7 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.043, allocations: 0 / 1.311 GB, free: 27.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001015/1.044, allocations: 364.4 kB / 1.312 GB, free: 27.6 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/1.044, allocations: 5.562 kB / 1.312 GB, free: 27.6 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/1.044, allocations: 3.938 kB / 1.312 GB, free: 27.6 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/1.044, allocations: 4 kB / 1.312 GB, free: 27.59 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003629/1.044, allocations: 78.2 kB / 1.312 GB, free: 27.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/1.044, allocations: 0 / 1.312 GB, free: 27.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/1.045, allocations: 65.7 kB / 1.312 GB, free: 27.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/1.045, allocations: 4.906 kB / 1.312 GB, free: 27.57 MB / 1.061 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 8.878e-05/1.045, allocations: 127.2 kB / 1.312 GB, free: 27.45 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.871e-05/1.045, allocations: 16.47 kB / 1.312 GB, free: 27.44 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.457e-05/1.045, allocations: 28.25 kB / 1.312 GB, free: 27.42 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/1.045, allocations: 2.75 kB / 1.312 GB, free: 27.42 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.045, allocations: 0 / 1.312 GB, free: 27.42 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/1.045, allocations: 0 / 1.312 GB, free: 27.42 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/1.045, allocations: 274.9 kB / 1.312 GB, free: 27.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/1.045, allocations: 4 kB / 1.312 GB, free: 27.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003541/1.045, allocations: 76.17 kB / 1.312 GB, free: 27.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/1.045, allocations: 2.812 kB / 1.312 GB, free: 27.18 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/1.045, allocations: 7.875 kB / 1.312 GB, free: 27.17 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/1.045, allocations: 0 / 1.312 GB, free: 27.17 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.045, allocations: 2.719 kB / 1.312 GB, free: 27.17 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/1.047, allocations: 0.6307 MB / 1.313 GB, free: 26.92 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.488e-05/1.047, allocations: 94.12 kB / 1.313 GB, free: 26.82 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/1.047, allocations: 6.5 kB / 1.313 GB, free: 26.81 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002856/1.047, allocations: 50 kB / 1.313 GB, free: 26.81 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.054e-05/1.047, allocations: 29.34 kB / 1.313 GB, free: 26.8 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/1.047, allocations: 2.469 kB / 1.313 GB, free: 26.8 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.811e-05/1.047, allocations: 134.4 kB / 1.313 GB, free: 26.7 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/1.047, allocations: 0 / 1.313 GB, free: 26.7 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002876/1.048, allocations: 39.88 kB / 1.313 GB, free: 26.7 MB / 1.061 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.00178/1.049, allocations: 1.184 MB / 1.314 GB, free: 25.91 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001046/1.051, allocations: 321 kB / 1.315 GB, free: 25.86 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.051, allocations: 0 / 1.315 GB, free: 25.86 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005171/1.051, allocations: 169.1 kB / 1.315 GB, free: 25.82 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/1.051, allocations: 48.78 kB / 1.315 GB, free: 25.8 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003946/1.055, allocations: 2.52 MB / 1.317 GB, free: 24.27 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001914/1.056, allocations: 0.7341 MB / 1.318 GB, free: 23.56 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001291/1.056, allocations: 13.53 kB / 1.318 GB, free: 23.56 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/1.056, allocations: 64.5 kB / 1.318 GB, free: 23.51 MB / 1.061 GB Notification: Performance of SimCode: time 5.92e-07/1.056, allocations: 0 / 1.318 GB, free: 23.51 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02615/1.082, allocations: 4.719 MB / 1.323 GB, free: 22.94 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.171/9.253, allocations: 15.98 kB / 1.323 GB, free: 22.93 MB / 1.061 GB " [Timeout remaining time 291] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.609523173887283]