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.00179/0.00179, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 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.001654/0.001654, allocations: 161.3 kB / 22.75 MB, free: 1.656 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 1.775/1.775, allocations: 177.2 MB / 203.1 MB, free: 5.586 MB / 186.7 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 3.495/3.495, allocations: 429.6 MB / 0.673 GB, free: 3.879 MB / 0.6355 GB " [Timeout remaining time 175] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 0 / 0.8776 GB, free: 6.488 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.048e-05/4.317e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels): time 0.006183/0.006226, allocations: 2.68 MB / 0.8802 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004955/0.01118, allocations: 1.764 MB / 0.882 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005212/0.0117, allocations: 4 kB / 0.882 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.003117/0.01482, allocations: 0.708 MB / 0.8826 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0009358/0.01576, allocations: 226.3 kB / 0.8829 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004939/0.01625, allocations: 127.8 kB / 0.883 GB, free: 1 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.01252/0.02877, allocations: 6.676 MB / 0.8895 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002673/0.02904, allocations: 37.19 kB / 0.8895 GB, free: 10.28 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008785/0.02992, allocations: 263.3 kB / 0.8898 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005304/0.03045, allocations: 203.3 kB / 0.89 GB, free: 9.82 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001293/0.03058, allocations: 28 kB / 0.89 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007556/0.03133, allocations: 267.6 kB / 0.8903 GB, free: 9.531 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0009376/0.03227, allocations: 0.6625 MB / 0.8909 GB, free: 8.867 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001204/0.03348, allocations: 394.9 kB / 0.8913 GB, free: 8.48 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.003243/0.03672, allocations: 1.892 MB / 0.8931 GB, free: 6.582 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.03672, allocations: 3.938 kB / 0.8931 GB, free: 6.578 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.755e-06/0.03673, allocations: 0 / 0.8931 GB, free: 6.578 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.609e-05/0.03682, allocations: 4 kB / 0.8931 GB, free: 6.574 MB / 0.8542 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.004517/0.04134, allocations: 1.839 MB / 0.8949 GB, free: 4.691 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.964e-05/0.0414, allocations: 12.03 kB / 0.895 GB, free: 4.68 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003149/0.04172, allocations: 175.7 kB / 0.8951 GB, free: 4.508 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002577/0.04429, allocations: 1.458 MB / 0.8965 GB, free: 2.988 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.04432, allocations: 8.375 kB / 0.8966 GB, free: 2.98 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.04436, allocations: 16.3 kB / 0.8966 GB, free: 2.965 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005336/0.04489, allocations: 301.4 kB / 0.8969 GB, free: 2.664 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.0449, allocations: 0 / 0.8969 GB, free: 2.664 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.04492, allocations: 0 / 0.8969 GB, free: 2.664 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.04493, allocations: 0 / 0.8969 GB, free: 2.664 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007424/0.04567, allocations: 495.8 kB / 0.8973 GB, free: 2.18 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002464/0.04814, allocations: 1.394 MB / 0.8987 GB, free: 0.75 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006429/0.04878, allocations: 486.3 kB / 0.8992 GB, free: 272 kB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003634/0.04914, allocations: 252.8 kB / 0.8994 GB, free: 16 kB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.04925, allocations: 32.02 kB / 0.8994 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.806e-05/0.0493, allocations: 38.5 kB / 0.8995 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=9): time 3.306e-06/0.0493, allocations: 3.984 kB / 0.8995 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of matching and sorting (n=9): time 0.001524/0.05083, allocations: 0.9107 MB / 0.9004 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.038e-05/0.05091, allocations: 51.41 kB / 0.9004 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003583/0.05449, allocations: 2.289 MB / 0.9026 GB, free: 12.63 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/0.05453, allocations: 33.7 kB / 0.9027 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008491/0.05538, allocations: 0.6927 MB / 0.9033 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.01e-05/0.05543, allocations: 31.73 kB / 0.9034 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/0.05564, allocations: 125.6 kB / 0.9035 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002486/0.05588, allocations: 337.9 kB / 0.9038 GB, free: 11.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009057/0.05679, allocations: 0.6918 MB / 0.9045 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/0.05801, allocations: 0.9261 MB / 0.9054 GB, free: 9.723 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002098/0.06011, allocations: 1.456 MB / 0.9068 GB, free: 8.254 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.06011, allocations: 0 / 0.9068 GB, free: 8.254 MB / 0.8698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002657/0.06277, allocations: 1.687 MB / 0.9085 GB, free: 6.562 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.0628, allocations: 8 kB / 0.9085 GB, free: 6.555 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.06281, allocations: 0 / 0.9085 GB, free: 6.555 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.032e-05/0.06284, allocations: 96 / 0.9085 GB, free: 6.555 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.0631, allocations: 48 kB / 0.9085 GB, free: 6.508 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.06311, allocations: 7.938 kB / 0.9085 GB, free: 6.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006566/0.06376, allocations: 114.6 kB / 0.9086 GB, free: 6.391 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.751e-05/0.06381, allocations: 19.98 kB / 0.9087 GB, free: 6.371 MB / 0.8698 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.0007134/0.06452, allocations: 0.4936 MB / 0.9091 GB, free: 5.867 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002533/0.06478, allocations: 170.8 kB / 0.9093 GB, free: 5.699 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.06596, allocations: 0.7134 MB / 0.91 GB, free: 4.973 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.06596, allocations: 0 / 0.91 GB, free: 4.973 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.06597, allocations: 0 / 0.91 GB, free: 4.973 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.06598, allocations: 3.984 kB / 0.91 GB, free: 4.969 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.06728, allocations: 0.8445 MB / 0.9108 GB, free: 4.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.06728, allocations: 0 / 0.9108 GB, free: 4.09 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.06742, allocations: 27.92 kB / 0.9109 GB, free: 4.062 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.06742, allocations: 4 kB / 0.9109 GB, free: 4.059 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.06744, allocations: 7.984 kB / 0.9109 GB, free: 4.051 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.06744, allocations: 0 / 0.9109 GB, free: 4.051 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.06744, allocations: 0 / 0.9109 GB, free: 4.051 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.06856, allocations: 0.8009 MB / 0.9117 GB, free: 3.23 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003885/0.06895, allocations: 202.7 kB / 0.9118 GB, free: 3.031 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.06908, allocations: 0 / 0.9118 GB, free: 3.031 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003316/0.06941, allocations: 19.97 kB / 0.9119 GB, free: 3.012 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.732e-05/0.06949, allocations: 11.98 kB / 0.9119 GB, free: 3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.06951, allocations: 12 kB / 0.9119 GB, free: 2.988 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002588/0.07209, allocations: 1.618 MB / 0.9135 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.1e-08/0.07209, allocations: 0 / 0.9135 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007849/0.07288, allocations: 211.9 kB / 0.9137 GB, free: 1.145 MB / 0.8698 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.000456/0.07333, allocations: 171.1 kB / 0.9138 GB, free: 0.9688 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001531/0.07487, allocations: 0.9712 MB / 0.9148 GB, free: 0 / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.07487, allocations: 240 / 0.9148 GB, free: 16 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003856/0.07526, allocations: 259.8 kB / 0.915 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004438/0.07969, allocations: 1.221 MB / 0.9162 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004708/0.0844, allocations: 2.714 MB / 0.9189 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001227/0.08563, allocations: 0.7791 MB / 0.9196 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0009979/0.08663, allocations: 265.7 kB / 0.9199 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002395/0.08687, allocations: 104.5 kB / 0.92 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of SimCode: time 2.224e-06/0.08687, allocations: 0 / 0.92 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of Templates: time 0.07683/0.1637, allocations: 37.72 MB / 0.9568 GB, free: 5.84 MB / 0.9167 GB " [Timeout remaining time 300] 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/jenkins/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: 11.46129824896343]