Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.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.001691/0.001691, allocations: 123.8 kB / 17.13 MB, free: 5.93 MB / 14.72 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.002075/0.002075, allocations: 213.8 kB / 20.1 MB, free: 2.98 MB / 14.72 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 1.524/1.524, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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 2.993/2.993, allocations: 0.505 GB / 0.8072 GB, free: 2.027 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: translateModel(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senWhe.uSpe|senWhe.P|latWheDefMotCur.P|latWheDefMotCur.epsSenCor|latWheDefMotCur.epsLatCor",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels") translateModel(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senWhe.uSpe|senWhe.P|latWheDefMotCur.P|latWheDefMotCur.epsSenCor|latWheDefMotCur.epsLatCor",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 71.91 kB / 1.173 GB, free: 9.281 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.006, allocations: 180.2 MB / 1.349 GB, free: 5.32 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels): time 0.004676/1.011, allocations: 2.844 MB / 1.352 GB, free: 3.348 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003162/1.014, allocations: 1.89 MB / 1.354 GB, free: 2.07 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/1.014, allocations: 6.938 kB / 1.354 GB, free: 2.07 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002106/1.016, allocations: 0.7667 MB / 1.354 GB, free: 1.812 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004031/1.017, allocations: 213.5 kB / 1.354 GB, free: 1.684 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/1.017, allocations: 122.9 kB / 1.355 GB, free: 1.629 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00921/1.026, allocations: 6.326 MB / 1.361 GB, free: 4 kB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/1.026, allocations: 32.59 kB / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003059/1.027, allocations: 199.8 kB / 1.361 GB, free: 15.89 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003301/1.027, allocations: 257 kB / 1.361 GB, free: 15.77 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.48e-05/1.027, allocations: 28.09 kB / 1.361 GB, free: 15.77 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005611/1.028, allocations: 257.2 kB / 1.362 GB, free: 15.71 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006799/1.028, allocations: 0.6485 MB / 1.362 GB, free: 15.52 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006761/1.029, allocations: 0.6783 MB / 1.363 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002423/1.031, allocations: 1.936 MB / 1.365 GB, free: 14.2 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/1.031, allocations: 5.125 kB / 1.365 GB, free: 14.19 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.523e-06/1.031, allocations: 0 / 1.365 GB, free: 14.19 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.076e-05/1.031, allocations: 0 / 1.365 GB, free: 14.19 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.002918/1.034, allocations: 1.929 MB / 1.367 GB, free: 12.67 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/1.034, allocations: 17.14 kB / 1.367 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000259/1.035, allocations: 178.9 kB / 1.367 GB, free: 12.56 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002203/1.037, allocations: 1.517 MB / 1.368 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/1.037, allocations: 20.47 kB / 1.368 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/1.037, allocations: 7.188 kB / 1.368 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004065/1.037, allocations: 288 kB / 1.369 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/1.037, allocations: 1.156 kB / 1.369 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/1.037, allocations: 0 / 1.369 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/1.037, allocations: 1.406 kB / 1.369 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006041/1.038, allocations: 498.1 kB / 1.369 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002348/1.04, allocations: 1.553 MB / 1.371 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000562/1.041, allocations: 489.1 kB / 1.371 GB, free: 9.918 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/1.041, allocations: 247.8 kB / 1.371 GB, free: 9.824 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.04e-05/1.041, allocations: 27.23 kB / 1.371 GB, free: 9.812 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/1.041, allocations: 35.69 kB / 1.371 GB, free: 9.77 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/1.041, allocations: 0 / 1.371 GB, free: 9.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.001269/1.043, allocations: 0.9112 MB / 1.372 GB, free: 9.383 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/1.043, allocations: 52.5 kB / 1.372 GB, free: 9.32 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003064/1.046, allocations: 2.295 MB / 1.375 GB, free: 8.102 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/1.046, allocations: 31.86 kB / 1.375 GB, free: 8.066 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006972/1.046, allocations: 0.6879 MB / 1.375 GB, free: 7.469 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/1.046, allocations: 28.38 kB / 1.375 GB, free: 7.445 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/1.047, allocations: 127.8 kB / 1.375 GB, free: 7.371 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001587/1.047, allocations: 338.3 kB / 1.376 GB, free: 7.043 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008656/1.048, allocations: 0.6937 MB / 1.376 GB, free: 6.785 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009835/1.049, allocations: 0.7724 MB / 1.377 GB, free: 6.449 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00173/1.05, allocations: 1.454 MB / 1.379 GB, free: 5.867 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/1.05, allocations: 0 / 1.379 GB, free: 5.867 MB / 1.061 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002172/1.053, allocations: 1.691 MB / 1.38 GB, free: 5.172 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/1.053, allocations: 6.938 kB / 1.38 GB, free: 5.172 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/1.053, allocations: 0 / 1.38 GB, free: 5.172 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/1.053, allocations: 3.984 kB / 1.38 GB, free: 5.168 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/1.053, allocations: 41.69 kB / 1.38 GB, free: 5.156 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/1.053, allocations: 5.062 kB / 1.38 GB, free: 5.152 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008951/1.054, allocations: 122 kB / 1.38 GB, free: 5.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.133e-05/1.054, allocations: 21.89 kB / 1.38 GB, free: 5.062 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (20): * Single equations (assignments): 12 * Array equations: 8 * 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.0008273/1.055, allocations: 499.7 kB / 1.381 GB, free: 4.73 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002155/1.055, allocations: 170.9 kB / 1.381 GB, free: 4.629 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/1.056, allocations: 0.71 MB / 1.382 GB, free: 4.316 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/1.056, allocations: 1.125 kB / 1.382 GB, free: 4.316 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.056, allocations: 0 / 1.382 GB, free: 4.316 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/1.056, allocations: 9.062 kB / 1.382 GB, free: 4.309 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/1.057, allocations: 0.9833 MB / 1.383 GB, free: 3.645 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/1.057, allocations: 0 / 1.383 GB, free: 3.645 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/1.058, allocations: 33.44 kB / 1.383 GB, free: 3.633 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/1.058, allocations: 1.281 kB / 1.383 GB, free: 3.633 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/1.058, allocations: 1.375 kB / 1.383 GB, free: 3.633 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/1.058, allocations: 0.75 kB / 1.383 GB, free: 3.633 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.058, allocations: 4.938 kB / 1.383 GB, free: 3.629 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009621/1.059, allocations: 0.7954 MB / 1.383 GB, free: 3.203 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004637/1.059, allocations: 271.1 kB / 1.384 GB, free: 2.977 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/1.059, allocations: 4.844 kB / 1.384 GB, free: 2.973 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003701/1.059, allocations: 25.62 kB / 1.384 GB, free: 2.957 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.767e-05/1.06, allocations: 21.33 kB / 1.384 GB, free: 2.941 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/1.06, allocations: 7.062 kB / 1.384 GB, free: 2.941 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00313/1.063, allocations: 1.616 MB / 1.385 GB, free: 2.066 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.063, allocations: 3.938 kB / 1.385 GB, free: 2.062 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001582/1.064, allocations: 215.5 kB / 1.386 GB, free: 2.047 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (12): * Single equations (assignments): 12 * 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.0004365/1.065, allocations: 155.2 kB / 1.386 GB, free: 1.941 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001477/1.066, allocations: 0.9729 MB / 1.387 GB, free: 1.586 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.066, allocations: 0 / 1.387 GB, free: 1.586 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003515/1.067, allocations: 254.6 kB / 1.387 GB, free: 1.5 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004656/1.071, allocations: 1.209 MB / 1.388 GB, free: 0.875 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00436/1.076, allocations: 2.832 MB / 1.391 GB, free: 15.27 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/1.077, allocations: 1.366 MB / 1.392 GB, free: 14.2 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002466/1.077, allocations: 106.5 kB / 1.392 GB, free: 14.17 MB / 1.076 GB Notification: Performance of SimCode: time 1.583e-06/1.077, allocations: 0 / 1.392 GB, free: 14.17 MB / 1.076 GB Notification: Performance of Templates: time 0.04863/1.126, allocations: 27.26 MB / 1.419 GB, free: 7.148 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ThermalWheels_BaseClasses_Validation_VariableSpeedThermalWheels.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.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: 20.085292882999056]