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.00253/0.00253, allocations: 88.16 kB / 19.44 MB, free: 188 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.00293/0.00293, allocations: 165.3 kB / 22.77 MB, free: 1.512 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.705/1.705, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.488/3.488, allocations: 429.5 MB / 0.6729 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 176] 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 1.613e-06/1.613e-06, allocations: 0 / 0.8775 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.093e-05/3.254e-05, allocations: 5.406 kB / 0.8775 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels): time 0.005337/0.005369, allocations: 2.81 MB / 0.8802 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003608/0.008977, allocations: 1.819 MB / 0.882 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.009134, allocations: 8 kB / 0.882 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.002143/0.01128, allocations: 0.7071 MB / 0.8827 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000434/0.01171, allocations: 228.8 kB / 0.8829 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.01201, allocations: 125.3 kB / 0.883 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.01224/0.02425, allocations: 6.689 MB / 0.8896 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.02442, allocations: 33.27 kB / 0.8896 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004386/0.02486, allocations: 263.2 kB / 0.8898 GB, free: 9.941 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000323/0.02518, allocations: 207.3 kB / 0.89 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 7.88e-05/0.02526, allocations: 24 kB / 0.8901 GB, free: 9.715 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005896/0.02585, allocations: 259.7 kB / 0.8903 GB, free: 9.461 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0007263/0.02658, allocations: 0.6781 MB / 0.891 GB, free: 8.781 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0005388/0.02711, allocations: 386.9 kB / 0.8913 GB, free: 8.402 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002504/0.02962, allocations: 1.9 MB / 0.8932 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.02963, allocations: 3.938 kB / 0.8932 GB, free: 6.492 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.843e-06/0.02963, allocations: 4 kB / 0.8932 GB, free: 6.488 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.745e-05/0.02965, allocations: 0 / 0.8932 GB, free: 6.488 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.003965/0.03362, allocations: 2.11 MB / 0.8953 GB, free: 4.328 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.03367, allocations: 12.03 kB / 0.8953 GB, free: 4.316 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002819/0.03395, allocations: 179.7 kB / 0.8955 GB, free: 4.141 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002205/0.03616, allocations: 1.223 MB / 0.8966 GB, free: 2.855 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.03618, allocations: 12.36 kB / 0.8967 GB, free: 2.844 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/0.03621, allocations: 12.38 kB / 0.8967 GB, free: 2.832 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.03647, allocations: 89.45 kB / 0.8968 GB, free: 2.738 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.03648, allocations: 4 kB / 0.8968 GB, free: 2.734 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.0365, allocations: 0 / 0.8968 GB, free: 2.734 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.0365, allocations: 0 / 0.8968 GB, free: 2.734 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002274/0.03673, allocations: 67.94 kB / 0.8968 GB, free: 2.668 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002429/0.03916, allocations: 1.385 MB / 0.8982 GB, free: 1.242 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.03938, allocations: 82.97 kB / 0.8983 GB, free: 1.148 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.0395, allocations: 39.67 kB / 0.8983 GB, free: 1.105 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.812e-05/0.03958, allocations: 31.97 kB / 0.8983 GB, free: 1.074 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.513e-05/0.03962, allocations: 37.39 kB / 0.8984 GB, free: 1.027 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 1.163e-06/0.03962, allocations: 0 / 0.8984 GB, free: 1.027 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0006692/0.04029, allocations: 304.5 kB / 0.8986 GB, free: 0.7227 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.04035, allocations: 55.41 kB / 0.8987 GB, free: 0.6562 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003401/0.04375, allocations: 2.307 MB / 0.901 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/0.04379, allocations: 29.61 kB / 0.901 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001464/0.04525, allocations: 0.9325 MB / 0.9019 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.115e-05/0.0453, allocations: 35.72 kB / 0.9019 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002508/0.04555, allocations: 151.3 kB / 0.9021 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003548/0.04591, allocations: 0.5199 MB / 0.9026 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002734/0.04618, allocations: 140.6 kB / 0.9027 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005404/0.04672, allocations: 409.3 kB / 0.9031 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006254/0.04734, allocations: 363.1 kB / 0.9035 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.04735, allocations: 0 / 0.9035 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001051/0.0484, allocations: 0.5783 MB / 0.904 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.04842, allocations: 8.031 kB / 0.904 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-06/0.04843, allocations: 112 / 0.904 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.04845, allocations: 7.938 kB / 0.904 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.04868, allocations: 43.91 kB / 0.9041 GB, free: 11 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.04869, allocations: 0 / 0.9041 GB, free: 11 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005847/0.04927, allocations: 115.3 kB / 0.9042 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.206e-05/0.04931, allocations: 15.98 kB / 0.9042 GB, free: 10.87 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.0003123/0.04963, allocations: 184.5 kB / 0.9044 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000219/0.04985, allocations: 166.8 kB / 0.9045 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006243/0.05047, allocations: 286.7 kB / 0.9048 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.05047, allocations: 0 / 0.9048 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.05048, allocations: 4 kB / 0.9048 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.05048, allocations: 0 / 0.9048 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001637/0.05212, allocations: 1.062 MB / 0.9058 GB, free: 9.117 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.05212, allocations: 0 / 0.9058 GB, free: 9.117 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.05225, allocations: 35.92 kB / 0.9059 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.05226, allocations: 4 kB / 0.9059 GB, free: 9.078 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.05227, allocations: 4 kB / 0.9059 GB, free: 9.074 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.05228, allocations: 0 / 0.9059 GB, free: 9.074 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.05228, allocations: 3.938 kB / 0.9059 GB, free: 9.07 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006116/0.05289, allocations: 448.2 kB / 0.9063 GB, free: 8.609 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004439/0.05333, allocations: 202.7 kB / 0.9065 GB, free: 8.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.05346, allocations: 0 / 0.9065 GB, free: 8.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000305/0.05377, allocations: 15.98 kB / 0.9065 GB, free: 8.395 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.342e-05/0.05383, allocations: 11.98 kB / 0.9065 GB, free: 8.383 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.05385, allocations: 15.98 kB / 0.9066 GB, free: 8.367 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001996/0.05584, allocations: 1.243 MB / 0.9078 GB, free: 7.105 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.05584, allocations: 0 / 0.9078 GB, free: 7.105 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007064/0.05655, allocations: 211.9 kB / 0.908 GB, free: 6.898 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.0003907/0.05694, allocations: 181.3 kB / 0.9081 GB, free: 6.715 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009769/0.05792, allocations: 257.4 kB / 0.9084 GB, free: 6.461 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.05792, allocations: 0 / 0.9084 GB, free: 6.461 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.05807, allocations: 59.8 kB / 0.9084 GB, free: 6.398 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004579/0.06265, allocations: 1.215 MB / 0.9096 GB, free: 5.191 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003356/0.066, allocations: 2.095 MB / 0.9117 GB, free: 3.047 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/0.06703, allocations: 0.7517 MB / 0.9124 GB, free: 2.266 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008266/0.06785, allocations: 217.7 kB / 0.9126 GB, free: 2.047 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002268/0.06808, allocations: 100.5 kB / 0.9127 GB, free: 1.949 MB / 0.8698 GB Notification: Performance of SimCode: time 1.343e-06/0.06808, allocations: 4 kB / 0.9127 GB, free: 1.945 MB / 0.8698 GB Notification: Performance of Templates: time 0.07244/0.1405, allocations: 37.5 MB / 0.9493 GB, free: 13.41 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.Validation.VariableSpeedThermalWheels.pipe 2>&1) [Timeout 240] 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: 10.195051477989182]